|
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 const CommitmentLabels & | commitment_labels () |
Static Public Member Functions inherited from bb::UltraFlavor_Generated | |
| template<typename TraceBlocks > | |
| static auto | get_gate_blocks (TraceBlocks &blocks) |
| template<typename TraceBlocks > | |
| static auto | get_gate_blocks (TraceBlocks const &blocks) |
| template<typename TraceBlock > | |
| static auto | get_block_non_gate_selectors (TraceBlock &block) |
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 | USE_SIMD_SUMCHECK = 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 | TRACE_OFFSET = NUM_DISABLED_ROWS_IN_SUMCHECK |
Static Public Attributes inherited from bb::UltraFlavor_Generated | |
| static constexpr size_t | NUM_PRECOMPUTED_ENTITIES = 28 |
| static constexpr size_t | NUM_WITNESS_ENTITIES = 8 |
| static constexpr size_t | NUM_MASKING_ENTITIES = 0 |
| static constexpr size_t | NUM_SHIFTED_ENTITIES = 5 |
| static constexpr bool | HasDataBus = false |
| static constexpr size_t | NUM_BUS_COLUMNS = 0 |
| static constexpr bool | HasLogDerivLookup = true |
| static constexpr bool | HasElliptic = true |
| static constexpr bool | HasMemory = true |
| static constexpr bool | HasNonNativeField = true |
| static constexpr bool | HasEccOpQueue = false |
| static constexpr size_t | NUM_COMMITTED_WITNESS_ENTITIES = NUM_WITNESS_ENTITIES + NUM_MASKING_ENTITIES |
| static constexpr size_t | NUM_UNSHIFTED_ENTITIES = NUM_PRECOMPUTED_ENTITIES + NUM_COMMITTED_WITNESS_ENTITIES |
| static constexpr size_t | NUM_ALL_ENTITIES = NUM_UNSHIFTED_ENTITIES + NUM_SHIFTED_ENTITIES |
| static constexpr std::array< DuplicatePair, NUM_SHIFTED_ENTITIES > | REPEATED_COMMITMENT_PAIRS |
| static constexpr RepeatedCommitmentsData | REPEATED_COMMITMENTS |
| static constexpr std::array< GateKind, 8 > | GATE_KINDS |
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 25 of file ultra_zk_flavor.hpp.
| using bb::UltraZKFlavor::AllEntities = UltraFlavor::AllEntities_<DataType, HasZK> |
Definition at line 40 of file ultra_zk_flavor.hpp.
Definition at line 52 of file ultra_zk_flavor.hpp.
Definition at line 61 of file ultra_zk_flavor.hpp.
| using bb::UltraZKFlavor::PartiallyEvaluatedMultivariates = UltraFlavor::PartiallyEvaluatedMultivariates_<HasZK> |
Definition at line 58 of file ultra_zk_flavor.hpp.
Definition at line 57 of file ultra_zk_flavor.hpp.
| using bb::UltraZKFlavor::ProverUnivariates = AllEntities<bb::Univariate<FF, LENGTH> > |
Definition at line 60 of file ultra_zk_flavor.hpp.
|
inlinestaticconstexpr |
Definition at line 47 of file ultra_zk_flavor.hpp.
|
staticconstexpr |
Definition at line 34 of file ultra_zk_flavor.hpp.
|
staticconstexpr |
Definition at line 27 of file ultra_zk_flavor.hpp.
|
staticconstexpr |
Definition at line 43 of file ultra_zk_flavor.hpp.
|
staticconstexpr |
Definition at line 30 of file ultra_zk_flavor.hpp.
|
staticconstexpr |
Definition at line 44 of file ultra_zk_flavor.hpp.
|
staticconstexpr |
Definition at line 42 of file ultra_zk_flavor.hpp.