|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Functions | |
| uint8_t | hex_char_to_value (char c) |
| std::vector< uint8_t > | hex_string_to_bytes (const std::string &str) |
| std::pair< std::vector< uint8_t >, std::vector< uint8_t > > | create_simple_circuit_bytecode (size_t num_constraints=1) |
| Helper function to create a minimal circuit bytecode and witness for testing. | |
| std::vector< uint8_t > | create_simple_kernel (size_t vk_size, bool is_init_kernel) |
| Create a simple kernel circuit for IVC testing. | |
| std::vector< uint8_t > | create_kernel_witness (const std::vector< bb::fr > &app_vk_fields) |
| Create a kernel witness for IVC testing. | |
Variables | |
| const size_t | BIT_COUNT = 254 |
|
inline |
Create a kernel witness for IVC testing.
| app_vk_fields | The application verification key fields to include in witness |
Definition at line 175 of file acir_bincode_mocks.hpp.
|
inline |
Helper function to create a minimal circuit bytecode and witness for testing.
The circuit implements: w0 * w1 = w2 Example witness: w0=2, w1=3, w2=6 (so 2*3=6)
Definition at line 57 of file acir_bincode_mocks.hpp.
|
inline |
Create a simple kernel circuit for IVC testing.
Definition at line 120 of file acir_bincode_mocks.hpp.
|
inline |
Definition at line 12 of file acir_bincode_mocks.hpp.
|
inline |
Definition at line 27 of file acir_bincode_mocks.hpp.
| const size_t bb::acir_bincode_mocks::BIT_COUNT = 254 |
Definition at line 10 of file acir_bincode_mocks.hpp.