mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 13:37:58 -05:00
28 lines
470 B
C++
28 lines
470 B
C++
/*
|
|
* PrivateOutput.h
|
|
*
|
|
*/
|
|
|
|
#ifndef PROCESSOR_PRIVATEOUTPUT_H_
|
|
#define PROCESSOR_PRIVATEOUTPUT_H_
|
|
|
|
#include <deque>
|
|
using namespace std;
|
|
|
|
#include "Math/Share.h"
|
|
|
|
template<class T>
|
|
class PrivateOutput
|
|
{
|
|
SubProcessor<Share<T>>& proc;
|
|
deque<T> masks;
|
|
|
|
public:
|
|
PrivateOutput(SubProcessor<Share<T>>& proc) : proc(proc) { };
|
|
|
|
void start(int player, int target, int source);
|
|
void stop(int player, int source);
|
|
};
|
|
|
|
#endif /* PROCESSOR_PRIVATEOUTPUT_H_ */
|