|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Child class of UltraFlavor that runs with ZK Sumcheck. More...
#include <ultra_zk_flavor.hpp>
Static Public Member Functions | |
| static constexpr size_t | FINAL_PCS_MSM_SIZE (size_t log_n=CONST_PROOF_SIZE_LOG_N) |
Static Public Member Functions inherited from bb::UltraFlavor | |
| static constexpr size_t | FINAL_PCS_MSM_SIZE (size_t log_n=VIRTUAL_LOG_N) |
Static Public Attributes | |
| static constexpr bool | HasZK = true |
| static constexpr size_t | NUM_MASKING_POLYNOMIALS = 1 |
| static constexpr size_t | BATCHED_RELATION_PARTIAL_LENGTH = UltraFlavor::BATCHED_RELATION_PARTIAL_LENGTH + 1 |
| static constexpr size_t | NUM_WITNESS_ENTITIES = UltraFlavor::NUM_WITNESS_ENTITIES + NUM_MASKING_POLYNOMIALS |
| static constexpr size_t | NUM_ALL_ENTITIES = UltraFlavor::NUM_ALL_ENTITIES + NUM_MASKING_POLYNOMIALS |
| static constexpr size_t | NUM_UNSHIFTED_ENTITIES = UltraFlavor::NUM_UNSHIFTED_ENTITIES + NUM_MASKING_POLYNOMIALS |
Static Public Attributes inherited from bb::UltraFlavor | |
| static constexpr size_t | VIRTUAL_LOG_N = CONST_PROOF_SIZE_LOG_N |
| static constexpr bool | USE_SHORT_MONOMIALS = true |
| static constexpr bool | HasZK = false |
| static constexpr bool | USE_PADDING = true |
| static constexpr size_t | NUM_WIRES = CircuitBuilder::NUM_WIRES |
| static constexpr size_t | MAX_PARTIAL_RELATION_LENGTH = compute_max_partial_relation_length<Relations>() |
| static constexpr size_t | NUM_SUBRELATIONS = compute_number_of_subrelations<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 size_t | num_frs_comm = FrCodec::calc_num_fields<Commitment>() |
| static constexpr size_t | num_frs_fr = FrCodec::calc_num_fields<FF>() |
| static constexpr size_t | NUM_PRECOMPUTED_ENTITIES = PrecomputedEntities<FF>::_members_size |
| static constexpr size_t | NUM_WITNESS_ENTITIES = WitnessEntities<FF>::_members_size |
| static constexpr size_t | NUM_SHIFTED_ENTITIES = ShiftedEntities<FF>::_members_size |
| static constexpr size_t | NUM_UNSHIFTED_ENTITIES = NUM_PRECOMPUTED_ENTITIES + NUM_WITNESS_ENTITIES |
| static constexpr size_t | NUM_ALL_ENTITIES = NUM_UNSHIFTED_ENTITIES + NUM_SHIFTED_ENTITIES |
| static constexpr RepeatedCommitmentsData | REPEATED_COMMITMENTS |
Child class of UltraFlavor that runs with ZK Sumcheck.
Most of the properties of UltraFlavor are inherited without any changes. However, the BATCHED_RELATION_PARTIAL_LENGTH is incremented by 1, as we are using the sumcheck with disabled rows, where the main Honk relation is multiplied by a sum of multilinear Lagranges. Additionally, the transcript contains extra elements, such as commitments and evaluations of Libra polynomials used in Sumcheck to make it ZK, as well as a commitment and an evaluation of a hiding polynomials that turns the PCS stage ZK.
Definition at line 23 of file ultra_zk_flavor.hpp.
| using bb::UltraZKFlavor::AllEntities = UltraFlavor::AllEntities_<DataType, HasZK> |
Definition at line 38 of file ultra_zk_flavor.hpp.
Definition at line 53 of file ultra_zk_flavor.hpp.
Definition at line 60 of file ultra_zk_flavor.hpp.
| using bb::UltraZKFlavor::PartiallyEvaluatedMultivariates = UltraFlavor::PartiallyEvaluatedMultivariates_<HasZK> |
Definition at line 55 of file ultra_zk_flavor.hpp.
Definition at line 54 of file ultra_zk_flavor.hpp.
| using bb::UltraZKFlavor::ProverUnivariates = AllEntities<bb::Univariate<FF, LENGTH> > |
Definition at line 59 of file ultra_zk_flavor.hpp.
| using bb::UltraZKFlavor::VerifierCommitments = UltraFlavor::VerifierCommitments_<Commitment, VerificationKey, HasZK> |
Definition at line 56 of file ultra_zk_flavor.hpp.
|
inlinestaticconstexpr |
Definition at line 48 of file ultra_zk_flavor.hpp.
|
staticconstexpr |
Definition at line 33 of file ultra_zk_flavor.hpp.
|
staticconstexpr |
Definition at line 26 of file ultra_zk_flavor.hpp.
|
staticconstexpr |
Definition at line 43 of file ultra_zk_flavor.hpp.
|
staticconstexpr |
Definition at line 29 of file ultra_zk_flavor.hpp.
|
staticconstexpr |
Definition at line 45 of file ultra_zk_flavor.hpp.
|
staticconstexpr |
Definition at line 41 of file ultra_zk_flavor.hpp.