mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
32 lines
788 B
C++
32 lines
788 B
C++
/*
|
|
* ReplicatedMC.h
|
|
*
|
|
*/
|
|
|
|
#ifndef AUTH_REPLICATEDMC_H_
|
|
#define AUTH_REPLICATEDMC_H_
|
|
|
|
#include "MAC_Check.h"
|
|
|
|
template <class T>
|
|
class ReplicatedMC : public MAC_Check_Base<T>
|
|
{
|
|
octetStream o;
|
|
|
|
public:
|
|
// emulate MAC_Check
|
|
ReplicatedMC(const typename T::value_type& _ = {}, int __ = 0, int ___ = 0)
|
|
{ (void)_; (void)__; (void)___; }
|
|
|
|
// emulate Direct_MAC_Check
|
|
ReplicatedMC(const typename T::value_type& _, Names& ____, int __ = 0, int ___ = 0)
|
|
{ (void)_; (void)__; (void)___; (void)____; }
|
|
|
|
void POpen_Begin(vector<typename T::clear>& values,const vector<T>& S,const Player& P);
|
|
void POpen_End(vector<typename T::clear>& values,const vector<T>& S,const Player& P);
|
|
|
|
void Check(const Player& P) { (void)P; }
|
|
};
|
|
|
|
#endif /* AUTH_REPLICATEDMC_H_ */
|