|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Simple stdlib verification key class for fixed-size circuits (ECCVM, Translator, AVM). More...
#include <flavor.hpp>
Public Types | |
| using | Builder = Builder_ |
| using | Commitment = typename PrecomputedCommitments::DataType |
| using | FF = stdlib::field_t< Builder > |
Public Member Functions | |
| bool | operator== (const FixedStdlibVKAndHash_ &) const =default |
| FixedStdlibVKAndHash_ ()=default | |
| FixedStdlibVKAndHash_ (Builder *builder, const std::shared_ptr< NativeVerificationKey > &native_key) | |
| Construct from native verification key and fix all witnesses (VK is constant for fixed circuits) | |
| FF | get_hash () const |
Private Attributes | |
| FF | hash |
Simple stdlib verification key class for fixed-size circuits (ECCVM, Translator, AVM).
Stores only the commitments and precomputed VK hash as witnesses. Circuit size and public inputs are known constants for these fixed circuits and don't need to be stored.
| Builder_ | The circuit builder type |
| PrecomputedCommitments | The precomputed entities type |
| NativeVerificationKey | The native VK type for construction from native key |
Definition at line 337 of file flavor.hpp.
| using bb::FixedStdlibVKAndHash_< Builder_, PrecomputedCommitments, NativeVerificationKey >::Builder = Builder_ |
Definition at line 339 of file flavor.hpp.
| using bb::FixedStdlibVKAndHash_< Builder_, PrecomputedCommitments, NativeVerificationKey >::Commitment = typename PrecomputedCommitments::DataType |
Definition at line 340 of file flavor.hpp.
| using bb::FixedStdlibVKAndHash_< Builder_, PrecomputedCommitments, NativeVerificationKey >::FF = stdlib::field_t<Builder> |
Definition at line 341 of file flavor.hpp.
|
default |
|
inline |
Construct from native verification key and fix all witnesses (VK is constant for fixed circuits)
Definition at line 349 of file flavor.hpp.
|
inline |
Definition at line 362 of file flavor.hpp.
|
default |
|
private |
Definition at line 365 of file flavor.hpp.