|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <benchmark/benchmark.h>#include "barretenberg/common/assert.hpp"#include "barretenberg/goblin/mock_circuits.hpp"#include "barretenberg/stdlib/encryption/ecdsa/ecdsa.hpp"#include "barretenberg/stdlib/hash/keccak/keccak.hpp"#include "barretenberg/stdlib/hash/sha256/sha256.hpp"#include "barretenberg/ultra_honk/ultra_prover.hpp"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. | |