mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-10 05:57:57 -05:00
24 lines
414 B
C++
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_ */
|