mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 13:37:58 -05:00
32 lines
521 B
C++
32 lines
521 B
C++
/*
|
|
* 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_ */
|