mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
34 lines
566 B
C++
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_ */
|