|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Classes | |
| struct | NativeFlavorHelper |
| struct | NativeFlavorHelper< Flavor, true > |
Functions | |
| template<typename Flavor , typename Builder > requires (IsMegaFlavor<Flavor> && IsMegaBuilder<Builder>) | |
| uint256_t | compute_vk_hash (const Builder &circuit_in, const TraceSettings &trace_settings=TraceSettings{ AZTEC_TRACE_STRUCTURE }) |
| Compute the hash of the verification key that results from constructing a proving key from the given circuit. | |
| template<typename Flavor , typename Builder > requires (!IsMegaFlavor<Flavor> || !IsMegaBuilder<Builder>) | |
| uint256_t | compute_vk_hash (const Builder &, const TraceSettings &=TraceSettings{ AZTEC_TRACE_STRUCTURE }) |
| bool | is_non_zero (auto &polynomial) |
| void | inspect_prover_instance (auto &prover_instance) |
| Utility for indicating which polynomials in a decider proving key are identically zero. | |
| uint256_t bb::prover_instance_inspector::compute_vk_hash | ( | const Builder & | , |
| const TraceSettings & | = TraceSettings{ AZTEC_TRACE_STRUCTURE } |
||
| ) |
Definition at line 52 of file prover_instance_inspector.hpp.
| uint256_t bb::prover_instance_inspector::compute_vk_hash | ( | const Builder & | circuit_in, |
| const TraceSettings & | trace_settings = TraceSettings{ AZTEC_TRACE_STRUCTURE } |
||
| ) |
Compute the hash of the verification key that results from constructing a proving key from the given circuit.
This is useful for identifying the point of divergence for two circuits that are expected to be identical, for example, the circuit constructed from a given acir program with or without a genuine witness.
| Flavor | Determines the type of PK and VK to be constructed. |
| Builder | The builder for the circuit in question. |
Definition at line 34 of file prover_instance_inspector.hpp.
| void bb::prover_instance_inspector::inspect_prover_instance | ( | auto & | prover_instance | ) |
Utility for indicating which polynomials in a decider proving key are identically zero.
| prover_instance |
Definition at line 75 of file prover_instance_inspector.hpp.
| bool bb::prover_instance_inspector::is_non_zero | ( | auto & | polynomial | ) |
Definition at line 60 of file prover_instance_inspector.hpp.