mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
25 lines
460 B
C++
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_ */
|