forked from data61/MP-SPDZ
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tinier-party.cpp
36 lines (32 loc) · 914 Bytes
/
tinier-party.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* tinier-party.cpp
*
*/
#include "GC/TinierSecret.h"
#include "GC/ShareParty.h"
#include "GC/TinyMC.h"
#include "GC/VectorInput.h"
#include "GC/ShareParty.hpp"
#include "GC/ShareSecret.hpp"
#include "GC/Machine.hpp"
#include "GC/Processor.hpp"
#include "GC/Program.hpp"
#include "GC/Thread.hpp"
#include "GC/ThreadMaster.hpp"
#include "GC/Secret.hpp"
#include "GC/TinyPrep.hpp"
#include "GC/TinierSharePrep.hpp"
#include "GC/CcdPrep.hpp"
#include "Processor/Instruction.hpp"
#include "Protocols/MAC_Check.hpp"
#include "Protocols/MAC_Check_Base.hpp"
#include "Protocols/Beaver.hpp"
#include "Protocols/MascotPrep.hpp"
#include "Protocols/MalRepRingPrep.hpp"
int main(int argc, const char** argv)
{
ez::ezOptionParser opt;
OnlineOptions opts(opt, argc, argv);
gf2n_mac_key::init_minimum(opts.security_parameter);
GC::simple_binary_main<GC::TinierSecret<gf2n_mac_key>>(argc, argv, 1000);
}