mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-05-13 03:00:24 -04:00
21 lines
549 B
C++
21 lines
549 B
C++
/*
|
|
* cowgear-offline.cpp
|
|
*
|
|
*/
|
|
|
|
#include "SPDZ.hpp"
|
|
#include "Math/gfp.hpp"
|
|
#include "Protocols/CowGearShare.h"
|
|
#include "Protocols/CowGearOptions.h"
|
|
#include "Protocols/CowGearPrep.hpp"
|
|
#include "Processor/FieldMachine.hpp"
|
|
#include "Processor/OfflineMachine.hpp"
|
|
|
|
int main(int argc, const char** argv)
|
|
{
|
|
ez::ezOptionParser opt;
|
|
CowGearOptions::singleton = CowGearOptions(opt, argc, argv);
|
|
DishonestMajorityFieldMachine<CowGearShare, CowGearShare, gf2n_short,
|
|
OfflineMachine<DishonestMajorityMachine>>(argc, argv, opt);
|
|
}
|