mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-05-13 03:00:24 -04:00
25 lines
367 B
C++
25 lines
367 B
C++
/*
|
|
* ReplicatedPO.h
|
|
*
|
|
*/
|
|
|
|
#ifndef PROTOCOLS_REPLICATEDPO_H_
|
|
#define PROTOCOLS_REPLICATEDPO_H_
|
|
|
|
#include "MaliciousRepPO.h"
|
|
|
|
template<class T>
|
|
class ReplicatedPO : public MaliciousRepPO<T>
|
|
{
|
|
public:
|
|
ReplicatedPO(Player& P) :
|
|
MaliciousRepPO<T>(P)
|
|
{
|
|
}
|
|
|
|
void send(int player);
|
|
void receive();
|
|
};
|
|
|
|
#endif /* PROTOCOLS_REPLICATEDPO_H_ */
|