Files
MP-SPDZ/Math/Bit.cpp
Marcel Keller c597554af9 ATLAS.
2021-08-06 18:25:27 +10:00

18 lines
285 B
C++

/*
* Bit.cpp
*
*/
#include "Bit.h"
#include "gf2n.h"
template<class T>
Bit::Bit(const gf2n_<T>& other) :
super(other.get_bit(0))
{
assert(other.is_one() or other.is_zero());
}
template Bit::Bit(const gf2n_<octet>& other);
template Bit::Bit(const gf2n_<word>& other);