Barretenberg
The ZK-SNARK library at the core of Aztec
|
Classes | |
struct | BoolInput |
Public Types | |
using | Builder = Builder_ |
using | witness_ct = stdlib::witness_t< Builder > |
using | bool_ct = stdlib::bool_t< Builder > |
Public Member Functions | |
void | test_binary_op (std::string const &op_name, const std::function< bool_ct(const bool_ct &, const bool_ct &)> &op, const std::function< bool(bool, bool)> &expected_op) |
void | test_construct_from_const_bool () |
void | test_construct_from_witness () |
void | test_AND () |
void | test_xor () |
void | test_OR () |
void | test_EQ () |
void | test_NEQ () |
void | test_implies () |
void | test_implies_both_ways () |
void | test_must_imply () |
void | test_conditional_assign () |
void | test_normalize () |
void | test_assert_equal () |
void | test_basic_operations_tags () |
void | test_simple_proof () |
Static Public Member Functions | |
static bool_ct | create_bool_ct (const BoolInput &in, Builder *builder) |
Public Attributes | |
std::array< BoolInput, 8 > | all_inputs |
Definition at line 17 of file bool.test.cpp.
using BoolTest< Builder_ >::bool_ct = stdlib::bool_t<Builder> |
Definition at line 21 of file bool.test.cpp.
Definition at line 19 of file bool.test.cpp.
using BoolTest< Builder_ >::witness_ct = stdlib::witness_t<Builder> |
Definition at line 20 of file bool.test.cpp.
|
inlinestatic |
Definition at line 44 of file bool.test.cpp.
|
inline |
Definition at line 134 of file bool.test.cpp.
|
inline |
Definition at line 295 of file bool.test.cpp.
|
inline |
Definition at line 324 of file bool.test.cpp.
|
inline |
Definition at line 50 of file bool.test.cpp.
|
inline |
Definition at line 234 of file bool.test.cpp.
|
inline |
Definition at line 96 of file bool.test.cpp.
|
inline |
Definition at line 110 of file bool.test.cpp.
|
inline |
Definition at line 152 of file bool.test.cpp.
|
inline |
Definition at line 164 of file bool.test.cpp.
|
inline |
Definition at line 172 of file bool.test.cpp.
|
inline |
Definition at line 180 of file bool.test.cpp.
|
inline |
Definition at line 158 of file bool.test.cpp.
|
inline |
Definition at line 270 of file bool.test.cpp.
|
inline |
Definition at line 146 of file bool.test.cpp.
|
inline |
Definition at line 384 of file bool.test.cpp.
|
inline |
Definition at line 140 of file bool.test.cpp.
Definition at line 31 of file bool.test.cpp.