mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-11 06:27:56 -05:00
14 lines
177 B
C++
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());
|
|
}
|