13 memcpy(&bit, &a,
sizeof(
block));
16 template<
typename O =
bool>
30 template<
typename... Args>
40 memcpy(&bit, a,
sizeof(
block));
static void bool_data(bool *b, bool data)
Definition: bit.h:35
Bit(bool _b=false, int party=PUBLIC)
Definition: bit.hpp:1
O reveal(int party=PUBLIC) const
Definition: bit.hpp:15
static size_t bool_size(Args &&... args)
Definition: bit.h:31
Bit(size_t size, const block *a)
Definition: bit.h:39
__m128i block
Definition: block.h:8
Bit operator==(const Bit &rhs) const
Definition: bit.hpp:30
Bit operator!() const
Definition: bit.hpp:53
#define PUBLIC
Definition: utils.h:14
Bit(const block &a)
Definition: bit.h:12
Bit operator!=(const Bit &rhs) const
Definition: bit.hpp:34
Definition: swappable.h:7
Bit operator^(const Bit &rhs) const
Definition: bit.hpp:43
Bit select(const Bit &select, const Bit &new_v) const
Definition: bit.hpp:7
block bit
Definition: bit.h:9
Bit operator|(const Bit &rhs) const
Definition: bit.hpp:49
Bit operator&(const Bit &rhs) const