Barretenberg
The ZK-SNARK library at the core of Aztec
|
The verification key is responsible for storing the commitments to the precomputed (non-witnessk) polynomials used by the verifier. More...
#include <translator_recursive_flavor.hpp>
Public Member Functions | |
VerificationKey (CircuitBuilder *builder, const std::shared_ptr< NativeVerificationKey > &native_key) | |
std::vector< FF > | to_field_elements () const override |
Serialize verification key to field elements. | |
FF | hash_through_transcript (const std::string &domain_separator, Transcript &transcript) const override |
Unused function because vk is hardcoded in recursive verifier, so no transcript hashing is needed. | |
void | fix_witness () |
![]() | |
bool | operator== (const StdlibVerificationKey_ &) const=default |
virtual | ~StdlibVerificationKey_ ()=default |
StdlibVerificationKey_ ()=default | |
StdlibVerificationKey_ (const size_t circuit_size, const size_t num_public_inputs) | |
FF | hash (Builder &builder) |
A model function to show how to compute the VK hash (without the Transcript abstracting things away). | |
![]() | |
bool | operator== (const PrecomputedEntities &other) const =default |
DEFINE_FLAVOR_MEMBERS (DataType, ordered_extra_range_constraints_numerator, lagrange_first, lagrange_last, lagrange_odd_in_minicircuit, lagrange_even_in_minicircuit, lagrange_result_row, lagrange_last_in_minicircuit, lagrange_masking, lagrange_mini_masking, lagrange_real_last) | |
Additional Inherited Members | |
![]() | |
using | Builder = CircuitBuilder |
using | FF = stdlib::field_t< Builder > |
using | Commitment = typename PrecomputedCommitments::DataType |
using | Transcript = BaseTranscript< stdlib::recursion::honk::StdlibTranscriptParams< Builder > > |
![]() | |
using | DataType = DataType_ |
![]() | |
FF | log_circuit_size |
FF | num_public_inputs |
FF | pub_inputs_offset |
The verification key is responsible for storing the commitments to the precomputed (non-witnessk) polynomials used by the verifier.
Definition at line 105 of file translator_recursive_flavor.hpp.
|
inline |
Definition at line 108 of file translator_recursive_flavor.hpp.
|
inline |
Definition at line 155 of file translator_recursive_flavor.hpp.
|
inlineoverridevirtual |
Unused function because vk is hardcoded in recursive verifier, so no transcript hashing is needed.
domain_separator | |
transcript |
Reimplemented from bb::StdlibVerificationKey_< CircuitBuilder, TranslatorFlavor::PrecomputedEntities< Commitment > >.
Definition at line 149 of file translator_recursive_flavor.hpp.
|
inlineoverridevirtual |
Serialize verification key to field elements.
Reimplemented from bb::StdlibVerificationKey_< CircuitBuilder, TranslatorFlavor::PrecomputedEntities< Commitment > >.
Definition at line 127 of file translator_recursive_flavor.hpp.