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

30 lines
776 B
C++

/*
* SemiMC.h
*
*/
#ifndef AUTH_SEMIMC_H_
#define AUTH_SEMIMC_H_
#include "MAC_Check.h"
template<class T>
class SemiMC : public TreeSum<typename T::open_type>, public MAC_Check_Base<T>
{
public:
// emulate MAC_Check
SemiMC(const typename T::mac_key_type& _ = {}, int __ = 0, int ___ = 0)
{ (void)_; (void)__; (void)___; }
// emulate Direct_MAC_Check
SemiMC(const typename T::mac_key_type& _, Names& ____, int __ = 0, int ___ = 0)
{ (void)_; (void)__; (void)___; (void)____; }
void POpen_Begin(vector<typename T::open_type>& values,const vector<T>& S,const Player& P);
void POpen_End(vector<typename T::open_type>& values,const vector<T>& S,const Player& P);
void Check(const Player& P) { (void)P; }
};
#endif /* AUTH_SEMIMC_H_ */