#include #include "emp-agmpc/emp-agmpc.h" using namespace std; using namespace emp; const string circuit_file_location = "circuits/sha-1.txt";; static char out3[] = "92b404e556588ced6c1acd4ebf053f6809f73a93";//bafbc2c87c33322603f38e06c3e0f79c1f1b1475"; int main(int argc, char** argv) { int port, party; parse_party_and_port(argv, &party, &port); const static int nP = 4; NetIOMP io(nP, party, port); NetIOMP io2(nP, party, port+2*(nP+1)*(nP+1)+1); NetIOMP *ios[2] = {&io, &io2}; BristolFormat cf(circuit_file_location.c_str()); CMPC* mpc = new CMPC(nP, ios, party, &cf); cout <<"Setup:\t"<function_independent(); cout <<"FUNC_IND:\t"<function_dependent(); cout <<"FUNC_DEP:\t"<online(&input, &output); uint64_t band2 = io.count(); cout <<"bandwidth\t"<