Files
MP-SPDZ/Protocols/SemiInput.h
2019-06-07 15:26:28 +10:00

34 lines
566 B
C++

/*
* SemiInput.h
*
*/
#ifndef PROTOCOLS_SEMIINPUT_H_
#define PROTOCOLS_SEMIINPUT_H_
#include "ShamirInput.h"
template<class T> class SemiMC;
template<class T>
class SemiInput : public IndividualInput<T>
{
SeededPRNG secure_prng;
public:
SemiInput(SubProcessor<T>& proc, SemiMC<T>& MC) :
IndividualInput<T>(proc)
{
(void) MC;
}
SemiInput(SubProcessor<T>* proc, Player& P) :
IndividualInput<T>(proc, P)
{
}
void add_mine(const typename T::clear& input);
};
#endif /* PROTOCOLS_SEMIINPUT_H_ */