mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
27 lines
486 B
C++
27 lines
486 B
C++
/*
|
|
* ReplicatedPrivateOutput.h
|
|
*
|
|
*/
|
|
|
|
#ifndef PROCESSOR_REPLICATEDPRIVATEOUTPUT_H_
|
|
#define PROCESSOR_REPLICATEDPRIVATEOUTPUT_H_
|
|
|
|
template<class T>
|
|
class SubProcessor;
|
|
template<class T>
|
|
class Share;
|
|
|
|
template <class T>
|
|
class ReplicatedPrivateOutput
|
|
{
|
|
SubProcessor<T>& proc;
|
|
|
|
public:
|
|
ReplicatedPrivateOutput(SubProcessor<T>& proc);
|
|
|
|
void start(int player, int target, int source);
|
|
void stop(int player, int source);
|
|
};
|
|
|
|
#endif /* PROCESSOR_REPLICATEDPRIVATEOUTPUT_H_ */
|