mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-10 05:57:57 -05:00
38 lines
607 B
C++
38 lines
607 B
C++
/*
|
|
* TinierPrep.h
|
|
*
|
|
*/
|
|
|
|
#ifndef GC_TINIERPREP_H_
|
|
#define GC_TINIERPREP_H_
|
|
|
|
#include "TinyPrep.h"
|
|
|
|
namespace GC
|
|
{
|
|
|
|
template<class T>
|
|
class TinierPrep : public TinyPrep<T>
|
|
{
|
|
public:
|
|
TinierPrep(DataPositions& usage, ShareThread<T>& thread,
|
|
bool amplify = true) :
|
|
TinyPrep<T>(usage, thread, amplify)
|
|
{
|
|
}
|
|
|
|
TinierPrep(SubProcessor<T>*, DataPositions& usage) :
|
|
TinierPrep(usage, ShareThread<T>::s())
|
|
{
|
|
}
|
|
|
|
void buffer_inputs(int player)
|
|
{
|
|
this->buffer_inputs_(player, this->triple_generator);
|
|
}
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* GC_TINIERPREP_H_ */
|