Files
MP-SPDZ/FHEOffline/CutAndChooseMachine.h
Marcel Keller cc0711c224 MP-SPDZ.
2018-10-11 17:20:26 +11:00

25 lines
460 B
C++

/*
* CutAndChooseMachine.h
*
*/
#ifndef FHEOFFLINE_CUTANDCHOOSEMACHINE_H_
#define FHEOFFLINE_CUTANDCHOOSEMACHINE_H_
#include "FHEOffline/SimpleMachine.h"
class CutAndChooseMachine : public MultiplicativeMachine
{
bool covert;
template <class FD>
GeneratorBase* new_generator(int i);
public:
CutAndChooseMachine(int argc, const char** argv);
int get_covert() const { return sec; }
};
#endif /* FHEOFFLINE_CUTANDCHOOSEMACHINE_H_ */