mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
23 lines
435 B
C++
23 lines
435 B
C++
/*
|
|
* BrainPrep.h
|
|
*
|
|
*/
|
|
|
|
#ifndef PROTOCOLS_BRAINPREP_H_
|
|
#define PROTOCOLS_BRAINPREP_H_
|
|
|
|
#include "ReplicatedPrep.h"
|
|
#include "Protocols/BrainShare.h"
|
|
|
|
template<class T>
|
|
class BrainPrep : public MaliciousRingPrep<T>
|
|
{
|
|
public:
|
|
BrainPrep(SubProcessor<T>* proc, DataPositions& usage) :
|
|
MaliciousRingPrep<T>(proc, usage) {}
|
|
void buffer_triples();
|
|
void buffer_inputs(int player);
|
|
};
|
|
|
|
#endif /* PROTOCOLS_BRAINPREP_H_ */
|