|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Simple stdlib verification key class for fixed-size circuits (ECCVM, Translator). 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).
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 382 of file flavor.hpp.
| using bb::FixedStdlibVKAndHash_< Builder_, PrecomputedCommitments, NativeVerificationKey >::Builder = Builder_ |
Definition at line 384 of file flavor.hpp.
| using bb::FixedStdlibVKAndHash_< Builder_, PrecomputedCommitments, NativeVerificationKey >::Commitment = typename PrecomputedCommitments::DataType |
Definition at line 385 of file flavor.hpp.
| using bb::FixedStdlibVKAndHash_< Builder_, PrecomputedCommitments, NativeVerificationKey >::FF = stdlib::field_t<Builder> |
Definition at line 386 of file flavor.hpp.
|
default |
|
inline |
Construct from native verification key and fix all witnesses (VK is constant for fixed circuits)
Definition at line 394 of file flavor.hpp.
|
inline |
Definition at line 407 of file flavor.hpp.
|
default |
|
private |
Definition at line 410 of file flavor.hpp.