mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
22 lines
373 B
C++
22 lines
373 B
C++
/*
|
|
* SemiPrep.h
|
|
*
|
|
*/
|
|
|
|
#ifndef PROTOCOLS_SEMIPREP_H_
|
|
#define PROTOCOLS_SEMIPREP_H_
|
|
|
|
#include "MascotPrep.h"
|
|
|
|
template<class T>
|
|
class SemiPrep : public virtual OTPrep<T>, public virtual SemiHonestRingPrep<T>
|
|
{
|
|
public:
|
|
SemiPrep(SubProcessor<T>* proc, DataPositions& usage);
|
|
|
|
void buffer_triples();
|
|
void buffer_inverses();
|
|
};
|
|
|
|
#endif /* PROTOCOLS_SEMIPREP_H_ */
|