Files
MP-SPDZ/OT/OTMachine.h
2016-09-02 19:16:51 +01:00

34 lines
572 B
C++

// (C) 2016 University of Bristol. See License.txt
/*
* OTMachine.h
*
*/
#ifndef OT_OTMACHINE_H_
#define OT_OTMACHINE_H_
#include "OT/OTExtension.h"
#include "Tools/ezOptionParser.h"
class OTMachine
{
ez::ezOptionParser opt;
OT_ROLE ot_role;
public:
int my_num, portnum_base, nthreads, nloops, nsubloops, nbase;
long nOTs;
bool passive;
TwoPartyPlayer* P;
BitVector baseReceiverInput;
BaseOT* bot_;
vector<Names> N;
OTMachine(int argc, const char** argv);
~OTMachine();
void run();
};
#endif /* OT_OTMACHINE_H_ */