|
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_index () |
| void | test_construct_from_witness () |
| void | test_construct_from_witness_range_constraint () |
| 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) |
| static size_t | compute_conditional_assign_gates (const bool_ct &condition, const bool_ct &a, const bool_ct &b, const BoolInput &lhs, const BoolInput &rhs) |
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 289 of file bool.test.cpp.
|
inlinestatic |
Definition at line 44 of file bool.test.cpp.
|
inline |
Definition at line 191 of file bool.test.cpp.
|
inline |
Definition at line 429 of file bool.test.cpp.
|
inline |
Definition at line 458 of file bool.test.cpp.
|
inline |
Definition at line 50 of file bool.test.cpp.
|
inline |
Definition at line 354 of file bool.test.cpp.
|
inline |
Definition at line 96 of file bool.test.cpp.
|
inline |
Definition at line 130 of file bool.test.cpp.
|
inline |
Definition at line 110 of file bool.test.cpp.
|
inline |
Definition at line 155 of file bool.test.cpp.
|
inline |
Definition at line 209 of file bool.test.cpp.
|
inline |
Definition at line 221 of file bool.test.cpp.
|
inline |
Definition at line 229 of file bool.test.cpp.
|
inline |
Definition at line 237 of file bool.test.cpp.
|
inline |
Definition at line 215 of file bool.test.cpp.
|
inline |
Definition at line 404 of file bool.test.cpp.
|
inline |
Definition at line 203 of file bool.test.cpp.
|
inline |
Definition at line 518 of file bool.test.cpp.
|
inline |
Definition at line 197 of file bool.test.cpp.
Definition at line 31 of file bool.test.cpp.