#include <flavor.hpp>
|
| | VerificationKey ()=default |
| |
| | VerificationKey (const std::shared_ptr< ProvingKey > &proving_key) |
| |
| | VerificationKey (std::array< Commitment, NUM_PRECOMPUTED_COMMITMENTS > const &precomputed_cmts) |
| |
| fr | hash_with_origin_tagging (const std::string &domain_separator, Transcript &transcript) const override |
| | Unimplemented because AVM VK is hardcoded so hash does not need to be computed. Rather, we just add the provided VK hash directly to the transcript.
|
| |
| bool | operator== (const NativeVerificationKey_ &) const=default |
| |
| bool | compare (const NativeVerificationKey_ &other, RefArray< StringType, NUM_PRECOMPUTED_ENTITIES > commitment_labels) const |
| |
| 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 |
| | Compute VK hash.
|
| |
| virtual Transcript::DataType | hash_with_origin_tagging (const std::string &domain_separator, Transcript &transcript) const |
| | Tag VK components and hash.
|
| |
| bool | operator== (const PrecomputedEntities &other) const=default |
| |
| | DEFINE_FLAVOR_MEMBERS (DataType, lagrange_first, lagrange_second, lagrange_third, lagrange_last) |
| |
| DataType | get_selectors () |
| |
Definition at line 224 of file flavor.hpp.
◆ VerificationKey() [1/3]
| bb::avm2::AvmFlavor::VerificationKey::VerificationKey |
( |
| ) |
|
|
default |
◆ VerificationKey() [2/3]
| bb::avm2::AvmFlavor::VerificationKey::VerificationKey |
( |
const std::shared_ptr< ProvingKey > & |
proving_key | ) |
|
|
inline |
◆ VerificationKey() [3/3]
◆ hash_with_origin_tagging()
| fr bb::avm2::AvmFlavor::VerificationKey::hash_with_origin_tagging |
( |
const std::string & |
domain_separator, |
|
|
Transcript & |
transcript |
|
) |
| const |
|
inlineoverride |
Unimplemented because AVM VK is hardcoded so hash does not need to be computed. Rather, we just add the provided VK hash directly to the transcript.
Definition at line 251 of file flavor.hpp.
◆ NUM_PRECOMPUTED_COMMITMENTS
The documentation for this class was generated from the following file: