mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-10 22:17:57 -05:00
Always output SPDZ2k security parameter.
This commit is contained in:
@@ -28,6 +28,7 @@ int main(int argc, const char** argv)
|
||||
opt.parse(argc, argv);
|
||||
int s;
|
||||
opt.get("-SP")->getInt(s);
|
||||
cerr << "Using SPDZ2k security parameter " << s << endl;
|
||||
opt.resetArgs();
|
||||
RingOptions ring_options(opt, argc, argv);
|
||||
OnlineOptions& online_opts = OnlineOptions::singleton;
|
||||
@@ -35,11 +36,6 @@ int main(int argc, const char** argv)
|
||||
DishonestMajorityMachine machine(argc, argv, opt, online_opts, gf2n());
|
||||
int k = ring_options.ring_size_from_opts_or_schedule(online_opts.progname);
|
||||
|
||||
#ifdef VERBOSE
|
||||
cerr << "Using SPDZ2k with ring length " << k << " and security parameter "
|
||||
<< s << endl;
|
||||
#endif
|
||||
|
||||
#undef Z
|
||||
#define Z(K, S) \
|
||||
if (s == S and k == K) \
|
||||
|
||||
Reference in New Issue
Block a user