|
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_recursive_flavor.hpp>
Public Types | |
| using | NativeVerificationKey = NativeFlavor::VerificationKey |
Public Types inherited from bb::StdlibVerificationKey_< BuilderType, UltraRollupFlavor::PrecomputedEntities< Commitment > > | |
| using | Builder = BuilderType |
| using | FF = stdlib::field_t< Builder > |
| using | Commitment = typename PrecomputedCommitments::DataType |
| using | Transcript = StdlibTranscript< Builder > |
Public Member Functions | |
| VerificationKey (CircuitBuilder *builder, const std::shared_ptr< NativeVerificationKey > &native_key) | |
| Construct a new Verification Key with stdlib types from a provided native verification key. | |
| VerificationKey (std::span< FF > elements) | |
| Deserialize a verification key from a vector of field elements. | |
Public Member Functions inherited from bb::StdlibVerificationKey_< BuilderType, UltraRollupFlavor::PrecomputedEntities< Commitment > > | |
| bool | operator== (const StdlibVerificationKey_ &) const=default |
| virtual | ~StdlibVerificationKey_ ()=default |
| StdlibVerificationKey_ ()=default | |
| StdlibVerificationKey_ (const size_t circuit_size, const size_t num_public_inputs) | |
| virtual std::vector< FF > | to_field_elements () const |
| Serialize verification key to field elements. | |
| FF | hash () |
| A model function to show how to compute the VK hash (without the Transcript abstracting things away). | |
| virtual FF | hash_through_transcript (const std::string &domain_separator, Transcript &transcript) const |
| Hashes the vk using the transcript's independent buffer and returns the hash. | |
Static Public Member Functions | |
| static VerificationKey | from_witness_indices (CircuitBuilder &builder, const std::span< const uint32_t > witness_indices) |
| Construct a VerificationKey from a set of corresponding witness indices. | |
Additional Inherited Members | |
Public Attributes inherited from bb::StdlibVerificationKey_< BuilderType, UltraRollupFlavor::PrecomputedEntities< Commitment > > | |
| 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 59 of file ultra_rollup_recursive_flavor.hpp.
| using bb::UltraRollupRecursiveFlavor_< BuilderType >::VerificationKey::NativeVerificationKey = NativeFlavor::VerificationKey |
Definition at line 62 of file ultra_rollup_recursive_flavor.hpp.
|
inline |
Construct a new Verification Key with stdlib types from a provided native verification key.
| builder | |
| native_key | Native verification key from which to extract the precomputed commitments |
Definition at line 70 of file ultra_rollup_recursive_flavor.hpp.
|
inline |
Deserialize a verification key from a vector of field elements.
| builder | |
| elements |
Definition at line 88 of file ultra_rollup_recursive_flavor.hpp.
|
inlinestatic |
Construct a VerificationKey from a set of corresponding witness indices.
| builder | |
| witness_indices |
Definition at line 110 of file ultra_rollup_recursive_flavor.hpp.