mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
35 lines
614 B
C++
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_ */
|