From 86d26cab5201a1e08ec73664a0655902e96c376b Mon Sep 17 00:00:00 2001 From: Marcel Keller Date: Thu, 21 Sep 2023 19:51:18 +1000 Subject: [PATCH] Always output SPDZ2k security parameter. --- Machines/spdz2k-party.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Machines/spdz2k-party.cpp b/Machines/spdz2k-party.cpp index ef889a7f..ed2d53e2 100644 --- a/Machines/spdz2k-party.cpp +++ b/Machines/spdz2k-party.cpp @@ -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) \