mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-05-13 03:00:24 -04:00
27 lines
468 B
C++
27 lines
468 B
C++
/*
|
|
* MamaPrep.h
|
|
*
|
|
*/
|
|
|
|
#ifndef PROTOCOLS_MAMAPREP_H_
|
|
#define PROTOCOLS_MAMAPREP_H_
|
|
|
|
#include "MascotPrep.h"
|
|
|
|
/**
|
|
* MASCOT triple generation with multiple MACs
|
|
*/
|
|
template<class T>
|
|
class MamaPrep : public MascotInputPrep<T>, public MaliciousRingPrep<T>
|
|
{
|
|
public:
|
|
static void basic_setup(Player&) {};
|
|
static void teardown() {};
|
|
|
|
MamaPrep<T>(SubProcessor<T>* proc, DataPositions& usage);
|
|
|
|
void buffer_triples();
|
|
};
|
|
|
|
#endif /* PROTOCOLS_MAMAPREP_H_ */
|