Files
MP-SPDZ/GC/MaliciousRepSecret.h
2019-04-30 17:25:02 +10:00

35 lines
614 B
C++

/*
* MaliciousRepSecret.h
*
*/
#ifndef GC_MALICIOUSREPSECRET_H_
#define GC_MALICIOUSREPSECRET_H_
#include "ReplicatedSecret.h"
template<class T> class MaliciousRepMC;
namespace GC
{
class MaliciousRepThread;
class MaliciousRepSecret : public ReplicatedSecret<MaliciousRepSecret>
{
typedef ReplicatedSecret<MaliciousRepSecret> super;
public:
typedef Memory<MaliciousRepSecret> DynamicMemory;
typedef MaliciousRepMC<MaliciousRepSecret> MC;
MaliciousRepSecret() {}
template<class T>
MaliciousRepSecret(const T& other) : super(other) {}
};
}
#endif /* GC_MALICIOUSREPSECRET_H_ */