Barretenberg
The ZK-SNARK library at the core of Aztec
|
Functions | |
std::pair< std::vector< uint8_t >, std::vector< uint8_t > > | create_simple_circuit_bytecode () |
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 115 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 19 of file acir_bincode_mocks.hpp.
|
inline |
Create a simple kernel circuit for IVC testing.
Definition at line 73 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.