#include #include "2pc.h" using namespace std; using namespace emp; const string circuit_file_location = macro_xstr(EMP_CIRCUIT_PATH); static char out3[] = "92b404e556588ced6c1acd4ebf053f6809f73a93";//bafbc2c87c33322603f38e06c3e0f79c1f1b1475"; int main(int argc, char** argv) { int port, party; parse_party_and_port(argv, &party, &port); NetIO* io = new NetIO(party==ALICE ? nullptr:IP, port); io->set_nodelay(); string file = circuit_file_location+"/sha-1.txt"; CircuitFile cf(file.c_str()); auto t1 = clock_start(); C2PC twopc(io, party, &cf); io->flush(); cout << "one time:\t"<flush(); cout << "inde:\t"<flush(); cout << "dep:\t"<