Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
mock_circuits.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::mock_circuits
 

Functions

template<typename Builder >
void bb::mock_circuits::generate_basic_arithmetic_circuit (Builder &builder, size_t log2_num_gates)
 Generate test circuit with basic arithmetic operations.
 
template<typename Prover >
Prover bb::mock_circuits::get_prover (void(*test_circuit_function)(typename Prover::Flavor::CircuitBuilder &, size_t), size_t num_iterations)
 
template<typename Prover >
void bb::mock_circuits::construct_proof_with_specified_num_iterations (benchmark::State &state, void(*test_circuit_function)(typename Prover::Flavor::CircuitBuilder &, size_t), size_t num_iterations)
 Performs proof constuction for benchmarks based on a provided circuit function.