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