|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/commitment_schemes/commitment_key.hpp"#include "barretenberg/commitment_schemes/verification_key.hpp"#include "barretenberg/ecc//batched_affine_addition/batched_affine_addition.hpp"#include "barretenberg/polynomials/polynomial.hpp"#include "barretenberg/srs/factories/mem_bn254_crs_factory.hpp"#include <benchmark/benchmark.h>Go to the source code of this file.
Classes | |
| struct | bb::PolyData< FF > |
Namespaces | |
| namespace | bb |
| Entry point for Barretenberg command-line interface. | |
Functions | |
| template<typename Curve > | |
| CommitmentKey< Curve > | bb::create_commitment_key (const size_t num_points) |
| template<typename FF > | |
| Polynomial< FF > | bb::sparse_random_poly (const size_t size, const size_t num_nonzero) |
| template<typename FF > | |
| PolyData< FF > | bb::structured_random_poly (bool non_zero_complement=false) |
| template<typename Curve > | |
| void | bb::bench_commit_zero (::benchmark::State &state) |
| template<typename Curve > | |
| void | bb::bench_commit_sparse (::benchmark::State &state) |
| template<typename Curve > | |
| void | bb::bench_commit_sparse_preprocessed (::benchmark::State &state) |
| template<typename Curve > | |
| void | bb::bench_commit_sparse_random (::benchmark::State &state) |
| template<typename Curve > | |
| void | bb::bench_commit_sparse_random_preprocessed (::benchmark::State &state) |
| template<typename Curve > | |
| void | bb::bench_commit_random (::benchmark::State &state) |
| template<typename Curve > | |
| void | bb::bench_commit_random_non_power_of_2 (::benchmark::State &state) |
| template<typename Curve > | |
| void | bb::bench_commit_structured_random_poly (::benchmark::State &state) |
| template<typename Curve > | |
| void | bb::bench_commit_structured_random_poly_preprocessed (::benchmark::State &state) |
| template<typename Curve > | |
| void | bb::bench_commit_mock_z_perm (::benchmark::State &state) |
| template<typename Curve > | |
| void | bb::bench_commit_mock_z_perm_preprocessed (::benchmark::State &state) |
| template<typename Curve > | |
| void | bb::bench_pippenger_without_endomorphism_basis_points (::benchmark::State &state) |
| Benchmark pippenger_without_endomorphism_basis_points function, which is used notably in the IPA verifier. | |
| bb::DenseRange (MIN_LOG_NUM_GRUMPKIN_POINTS, MAX_LOG_NUM_GRUMPKIN_POINTS) -> Unit(benchmark::kMillisecond) | |
| bb::DenseRange (MIN_LOG_NUM_POINTS, MAX_LOG_NUM_POINTS) -> Unit(benchmark::kMillisecond) | |
| bb::BENCHMARK (bench_commit_structured_random_poly< curve::BN254 >) -> Unit(benchmark::kMillisecond) | |
| bb::BENCHMARK (bench_commit_structured_random_poly_preprocessed< curve::BN254 >) -> Unit(benchmark::kMillisecond) | |
| bb::BENCHMARK (bench_commit_mock_z_perm< curve::BN254 >) -> Unit(benchmark::kMillisecond) | |
| bb::BENCHMARK (bench_commit_mock_z_perm_preprocessed< curve::BN254 >) -> Unit(benchmark::kMillisecond) | |
| BENCHMARK_MAIN () | |
Variables | |
| constexpr size_t | bb::MIN_LOG_NUM_POINTS = 16 |
| constexpr size_t | bb::MAX_LOG_NUM_POINTS = 20 |
| constexpr size_t | bb::MAX_NUM_POINTS = 1 << MAX_LOG_NUM_POINTS |
| constexpr size_t | bb::SPARSE_NUM_NONZERO = 100 |
| constexpr size_t | bb::MIN_LOG_NUM_GRUMPKIN_POINTS = 12 |
| constexpr size_t | bb::MAX_LOG_NUM_GRUMPKIN_POINTS = 16 |
| constexpr size_t | bb::MAX_NUM_GRUMPKIN_POINTS = 1 << MAX_LOG_NUM_GRUMPKIN_POINTS |
| BENCHMARK_MAIN | ( | ) |