mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
23 lines
520 B
C++
23 lines
520 B
C++
/*
|
|
* replicated-field-party.cpp
|
|
*
|
|
*/
|
|
|
|
#include "Protocols/ReplicatedMachine.hpp"
|
|
#include "Machines/Rep.hpp"
|
|
#include "Math/gfp.h"
|
|
|
|
template<>
|
|
Preprocessing<Rep3Share<gfp>>* Preprocessing<Rep3Share<gfp>>::get_live_prep(
|
|
SubProcessor<Rep3Share<gfp>>* proc, DataPositions& usage)
|
|
{
|
|
return new ReplicatedPrep<Rep3Share<gfp>>(proc, usage);
|
|
}
|
|
|
|
int main(int argc, const char** argv)
|
|
{
|
|
ez::ezOptionParser opt;
|
|
ReplicatedMachine<Rep3Share<gfp>, Rep3Share<gf2n>>(argc, argv,
|
|
"replicated-field", opt);
|
|
}
|