Files
MP-SPDZ/GC/AtlasSecret.cpp
Marcel Keller 32950fe8d4 Maintenance.
2021-11-04 16:24:34 +11:00

28 lines
439 B
C++

/*
* AtlasSecret.cpp
*
*/
#include "AtlasSecret.h"
#include "TinyMC.h"
#include "Protocols/Shamir.hpp"
#include "Protocols/ShamirMC.hpp"
#include "Protocols/MAC_Check_Base.hpp"
#include "Secret.hpp"
namespace GC
{
typename AtlasSecret::MC* AtlasSecret::new_mc(typename AtlasSecret::mac_key_type mac_key)
{
return new MC(mac_key);
}
AtlasShare::AtlasShare(const AtlasSecret& other) :
AtlasShare(other.get_bit(0))
{
}
}