Files
MP-SPDZ/Math/Bit.cpp
2020-03-20 20:31:25 +11:00

14 lines
177 B
C++

/*
* Bit.cpp
*
*/
#include "Bit.h"
#include "gf2n.h"
Bit::Bit(const gf2n_short& other) :
super(other.get_bit(0))
{
assert(other.is_one() or other.is_zero());
}