#include #include "emp-ag2pc/amortized_2pc.h" #include "test/single_execution.h" using namespace std; using namespace emp; static char out3[] = "92b404e556588ced6c1acd4ebf053f6809f73a93";//bafbc2c87c33322603f38e06c3e0f79c1f1b1475"; const static int runs = 4; 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 = "ands.txt";//circuit_file_location+"/AES-non-expanded.txt";//adder_32bit.txt"; file = circuit_file_location+"/AES-non-expanded.txt";//adder_32bit.txt"; file = circuit_file_location+"/sha-1.txt"; BristolFormat cf(file.c_str()); auto t1 = clock_start(); AmortizedC2PC twopc(io, party, &cf); io->flush(); cout << "one time:\t"<flush(); cout << "inde:\t"<flush(); cout << "dep:\t"<