mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-10 05:57:57 -05:00
19 lines
423 B
C++
19 lines
423 B
C++
/*
|
|
* mal-shamir-offline.cpp
|
|
*
|
|
*/
|
|
|
|
#include <Machines/Shamir.hpp>
|
|
#include "MalRep.hpp"
|
|
#include "Processor/OfflineMachine.hpp"
|
|
|
|
int main(int argc, const char** argv)
|
|
{
|
|
auto& opts = ShamirOptions::singleton;
|
|
ez::ezOptionParser opt;
|
|
opts = {opt, argc, argv};
|
|
HonestMajorityFieldMachine<MaliciousShamirShare,
|
|
OfflineMachine<HonestMajorityMachine>>(argc, argv, opt,
|
|
opts.nparties);
|
|
}
|