Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <flavor.hpp>
Classes | |
class | AllEntities |
class | DerivedWitnessEntities |
class | PartiallyEvaluatedMultivariates |
class | PolynomialEntitiesAtFixedRow |
class | PrecomputedEntities |
class | ProverPolynomials |
A container for the prover polynomials handles. More... | |
class | ProvingKey |
class | ShiftedEntities |
class | Transcript |
class | VerificationKey |
class | VerifierCommitments_ |
class | WireEntities |
class | WitnessEntities |
Static Public Attributes | |
static constexpr bool | USE_SHORT_MONOMIALS = false |
static constexpr bool | HasZK = false |
static constexpr bool | USE_PADDING = true |
static constexpr size_t | NUM_PRECOMPUTED_ENTITIES = AvmFlavorVariables::NUM_PRECOMPUTED_ENTITIES |
static constexpr size_t | NUM_WITNESS_ENTITIES = AvmFlavorVariables::NUM_WITNESS_ENTITIES |
static constexpr size_t | NUM_SHIFTED_ENTITIES = AvmFlavorVariables::NUM_SHIFTED_ENTITIES |
static constexpr size_t | NUM_WIRES = AvmFlavorVariables::NUM_WIRES |
static constexpr size_t | NUM_ALL_ENTITIES = AvmFlavorVariables::NUM_ALL_ENTITIES |
static constexpr size_t | MAX_CHUNK_THREAD_PORTION_SIZE = 32 |
static constexpr size_t | NUM_SUBRELATIONS = compute_number_of_subrelations<Relations>() |
static constexpr size_t | MAX_PARTIAL_RELATION_LENGTH = compute_max_partial_relation_length<Relations>() |
static constexpr size_t | BATCHED_RELATION_PARTIAL_LENGTH = MAX_PARTIAL_RELATION_LENGTH + 1 |
static constexpr size_t | NUM_RELATIONS = std::tuple_size_v<Relations> |
static constexpr bool | has_zero_row = true |
static constexpr size_t | NUM_FRS_COM = field_conversion::calc_num_bn254_frs<Commitment>() |
static constexpr size_t | NUM_FRS_FR = field_conversion::calc_num_bn254_frs<FF>() |
static constexpr size_t | COMPUTED_AVM_PROOF_LENGTH_IN_FIELDS |
Static Private Member Functions | |
template<typename DataType , typename PrecomputedAndWitnessEntitiesSuperset > | |
static auto | get_to_be_shifted (PrecomputedAndWitnessEntitiesSuperset &entities) |
Definition at line 28 of file flavor.hpp.
using bb::avm2::AvmFlavor::AllValues = AllEntities<FF> |
Definition at line 276 of file flavor.hpp.
Definition at line 38 of file flavor.hpp.
Definition at line 39 of file flavor.hpp.
Definition at line 40 of file flavor.hpp.
Definition at line 30 of file flavor.hpp.
A container for univariates produced during the hot loop in sumcheck.
Definition at line 337 of file flavor.hpp.
Definition at line 34 of file flavor.hpp.
Definition at line 31 of file flavor.hpp.
Definition at line 37 of file flavor.hpp.
Definition at line 77 of file flavor.hpp.
using bb::avm2::AvmFlavor::LookupRelations_ = AvmFlavorVariables::LookupRelations_<FF_> |
Definition at line 75 of file flavor.hpp.
Definition at line 72 of file flavor.hpp.
using bb::avm2::AvmFlavor::MainRelations_ = AvmFlavorVariables::MainRelations_<FF_> |
Definition at line 70 of file flavor.hpp.
Definition at line 32 of file flavor.hpp.
Definition at line 35 of file flavor.hpp.
Definition at line 36 of file flavor.hpp.
using bb::avm2::AvmFlavor::ProverUnivariates = AllEntities<bb::Univariate<FF, LENGTH> > |
A container for univariates used during Protogalaxy folding and sumcheck.
During folding and sumcheck, the prover evaluates the relations on these univariates.
Definition at line 324 of file flavor.hpp.
using bb::avm2::AvmFlavor::ProverUnivariatesWithOptimisticSkipping = AllEntities<bb::Univariate<FF, LENGTH, 0, SKIP_COUNT> > |
A container for univariates used during Protogalaxy folding and sumcheck with some of the computation optimistically ignored.
During folding and sumcheck, the prover evaluates the relations on these univariates.
Definition at line 332 of file flavor.hpp.
using bb::avm2::AvmFlavor::Relations = Relations_<FF> |
Definition at line 81 of file flavor.hpp.
using bb::avm2::AvmFlavor::Relations_ = tuple_cat_t<MainRelations_<FF_>, LookupRelations_<FF_> > |
Definition at line 80 of file flavor.hpp.
using bb::avm2::AvmFlavor::SubrelationSeparators = std::array<FF, NUM_SUBRELATIONS - 1> |
Definition at line 85 of file flavor.hpp.
Definition at line 41 of file flavor.hpp.
Definition at line 361 of file flavor.hpp.
A container for the witness commitments.
Definition at line 343 of file flavor.hpp.
|
inlinestaticprivate |
Definition at line 153 of file flavor.hpp.
|
staticconstexpr |
Definition at line 94 of file flavor.hpp.
|
staticconstexpr |
Definition at line 104 of file flavor.hpp.
|
staticconstexpr |
Definition at line 97 of file flavor.hpp.
|
staticconstexpr |
Definition at line 47 of file flavor.hpp.
|
staticconstexpr |
Definition at line 67 of file flavor.hpp.
|
staticconstexpr |
Definition at line 87 of file flavor.hpp.
|
staticconstexpr |
Definition at line 57 of file flavor.hpp.
|
staticconstexpr |
Definition at line 99 of file flavor.hpp.
|
staticconstexpr |
Definition at line 100 of file flavor.hpp.
|
staticconstexpr |
Definition at line 53 of file flavor.hpp.
|
staticconstexpr |
Definition at line 95 of file flavor.hpp.
|
staticconstexpr |
Definition at line 55 of file flavor.hpp.
|
staticconstexpr |
Definition at line 83 of file flavor.hpp.
|
staticconstexpr |
Definition at line 56 of file flavor.hpp.
|
staticconstexpr |
Definition at line 54 of file flavor.hpp.
|
staticconstexpr |
Definition at line 51 of file flavor.hpp.
|
staticconstexpr |
Definition at line 44 of file flavor.hpp.