|
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 <ultra_rollup_flavor.hpp>
Public Member Functions | |
| virtual | ~VerificationKey ()=default |
| bool | operator== (const VerificationKey &) const =default |
| VerificationKey ()=default | |
| VerificationKey (const size_t circuit_size, const size_t num_public_inputs) | |
| VerificationKey (const PrecomputedData &precomputed) | |
Public Member Functions inherited from bb::NativeVerificationKey_< PrecomputedEntities< Commitment >, Transcript > | |
| bool | operator== (const NativeVerificationKey_ &) const=default |
| virtual | ~NativeVerificationKey_ ()=default |
| NativeVerificationKey_ ()=default | |
| NativeVerificationKey_ (const size_t circuit_size, const size_t num_public_inputs) | |
| virtual std::vector< typename Transcript::DataType > | to_field_elements () const |
| Serialize verification key to field elements. | |
| size_t | from_field_elements (const std::span< const typename Transcript::DataType > &elements) |
| Populate verification key from field elements. | |
| fr | hash () const |
| A model function to show how to compute the VK hash(without the Transcript abstracting things away) | |
| virtual Transcript::DataType | hash_through_transcript (const std::string &domain_separator, Transcript &transcript) const |
| Hashes the vk using the transcript's independent buffer and returns the hash. | |
Public Member Functions inherited from bb::ECCVMFlavor::PrecomputedEntities< Commitment > | |
| bool | operator== (const PrecomputedEntities &other) const=default |
| DEFINE_FLAVOR_MEMBERS (DataType, lagrange_first, lagrange_second, lagrange_last) | |
| DataType | get_selectors () |
Additional Inherited Members | |
Public Types inherited from bb::NativeVerificationKey_< PrecomputedEntities< Commitment >, Transcript > | |
| using | Commitment = typename PrecomputedCommitments::DataType |
Public Types inherited from bb::ECCVMFlavor::PrecomputedEntities< Commitment > | |
| using | DataType = Commitment |
Static Public Member Functions inherited from bb::NativeVerificationKey_< PrecomputedEntities< Commitment >, Transcript > | |
| static size_t | calc_num_data_types () |
| Calculate the number of field elements needed for serialization. | |
Public Attributes inherited from bb::NativeVerificationKey_< PrecomputedEntities< Commitment >, Transcript > | |
| uint64_t | log_circuit_size |
| uint64_t | num_public_inputs |
| uint64_t | 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 34 of file ultra_rollup_flavor.hpp.
|
virtualdefault |
|
default |
|
inline |
Definition at line 40 of file ultra_rollup_flavor.hpp.
|
inline |
Definition at line 44 of file ultra_rollup_flavor.hpp.
|
default |