mirror of
https://github.com/emp-toolkit/emp-ag2pc.git
synced 2026-01-09 15:27:55 -05:00
fix action
This commit is contained in:
@@ -46,6 +46,7 @@ class Fpre {
|
||||
prps = new PRP[THDS*2];
|
||||
this->party = in_party;
|
||||
for(int i = 0; i < THDS; ++i) {
|
||||
usleep(1000);
|
||||
io[i] = new T(in_io->is_server?nullptr:in_io->addr.c_str(), in_io->port, true);
|
||||
usleep(1000);
|
||||
io2[i] = new T(in_io->is_server?nullptr:in_io->addr.c_str(), in_io->port, true);
|
||||
|
||||
@@ -43,6 +43,7 @@ int main(int argc, char** argv) {
|
||||
error("check failed!");
|
||||
}
|
||||
}
|
||||
delete abit;
|
||||
delete io;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ int main(int argc, char** argv) {
|
||||
cout << fpre->bandwidth()<<endl;
|
||||
|
||||
fpre->check_correctness(fpre->MAC_res, fpre->KEY_res, fpre->batch_size);
|
||||
|
||||
delete fpre;
|
||||
delete io;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user