Files
MP-SPDZ/Protocols/SemiPrep.h
Marcel Keller 32950fe8d4 Maintenance.
2021-11-04 16:24:34 +11:00

24 lines
414 B
C++

/*
* SemiPrep.h
*
*/
#ifndef PROTOCOLS_SEMIPREP_H_
#define PROTOCOLS_SEMIPREP_H_
#include "MascotPrep.h"
/**
* Semi-honest triple generation based on oblivious transfer
*/
template<class T>
class SemiPrep : public virtual OTPrep<T>, public virtual SemiHonestRingPrep<T>
{
public:
SemiPrep(SubProcessor<T>* proc, DataPositions& usage);
void buffer_triples();
};
#endif /* PROTOCOLS_SEMIPREP_H_ */