Skip to content

Commit 5ab8c70

Browse files
committedMay 27, 2022
Secure shuffling.
1 parent 2dad77b commit 5ab8c70

File tree

108 files changed

+2228
-543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+2228
-543
lines changed
 

‎BMR/Party.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ ProgramParty::~ProgramParty()
259259
reset();
260260
if (P)
261261
{
262-
cerr << "Data sent: " << 1e-6 * P->total_comm().total_data() << " MB" << endl;
263262
delete P;
264263
}
265264
delete[] eval_threads;

‎BMR/RealProgramParty.hpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RealProgramParty<T>* RealProgramParty<T>::singleton = 0;
2828

2929
template<class T>
3030
RealProgramParty<T>::RealProgramParty(int argc, const char** argv) :
31-
garble_processor(garble_machine), dummy_proc({{}, 0})
31+
garble_processor(garble_machine), dummy_proc({}, 0)
3232
{
3333
assert(singleton == 0);
3434
singleton = this;
@@ -157,6 +157,9 @@ RealProgramParty<T>::RealProgramParty(int argc, const char** argv) :
157157
MC->Check(*P);
158158
data_sent = P->total_comm().sent;
159159

160+
if (online_opts.verbose)
161+
P->total_comm().print();
162+
160163
this->machine.write_memory(this->N.my_num());
161164
}
162165

0 commit comments

Comments
 (0)
Please sign in to comment.