Files
MP-SPDZ/Processor/PrivateOutput.h
Marcel Keller cc0711c224 MP-SPDZ.
2018-10-11 17:20:26 +11:00

30 lines
462 B
C++

/*
* PrivateOutput.h
*
*/
#ifndef PROCESSOR_PRIVATEOUTPUT_H_
#define PROCESSOR_PRIVATEOUTPUT_H_
#include <deque>
using namespace std;
#include "Math/Share.h"
class Processor;
template<class T>
class PrivateOutput
{
Processor& proc;
deque<T> masks;
public:
PrivateOutput(Processor& proc) : proc(proc) { };
void start(int player, int target, int source);
void stop(int player, int source);
};
#endif /* PROCESSOR_PRIVATEOUTPUT_H_ */