mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-10 05:57:57 -05:00
Functionality to call high-level code from C++.
This commit is contained in:
@@ -17,7 +17,8 @@ namespace GC
|
||||
void Semi::prepare_mult(const SemiSecret& x, const SemiSecret& y, int n,
|
||||
bool repeat)
|
||||
{
|
||||
if (repeat and OnlineOptions::singleton.live_prep and (n < 0 or n > 1))
|
||||
if (repeat and OnlineOptions::singleton.live_prep and (n < 0 or n > 1)
|
||||
and P.num_players() == 2)
|
||||
{
|
||||
this->triples.push_back({{}});
|
||||
auto& triple = this->triples.back();
|
||||
|
||||
Reference in New Issue
Block a user