63 static constexpr bool HasZK =
true;
79 "LIBRA_UNIVARIATES_LENGTH must be equal to MegaZKFlavor::BATCHED_RELATION_PARTIAL_LENGTH");
83 static constexpr size_t NUM_SUBRELATIONS = compute_number_of_subrelations<Relations>();
87 "MegaZKFlavor layout must not include masking columns; Translator provides Gemini masking in the "
88 "batched Chonk flow.");
92 static_assert(
NUM_BUS_COLUMNS == 1,
"MegaZK flavor should declare exactly the kernel_calldata bus");
95 static constexpr size_t TRACE_OFFSET = NUM_DISABLED_ROWS_IN_SUMCHECK;
107 static_assert(gemini_masking_layout_consistent<MegaZKFlavor>(),
108 "MegaZKFlavor gemini masking flag must match its entity layout");
Common transcript class for both parties. Stores the data for the current round, as well as the manif...
CommitmentKey object over a pairing group 𝔾₁.
static const std::vector< std::string > & get_labels()
static constexpr size_t NUM_MASKING_ENTITIES
static constexpr size_t NUM_BUS_COLUMNS
std::tuple< bb::ArithmeticRelation< FF >, bb::BilinearOrBatchedEqCheckRelation< FF >, bb::UltraPermutationRelation< FF >, bb::DeltaRangeConstraintRelation< FF >, bb::EccOpQueueRelation< FF >, bb::MegaEccOpBoundaryRelation< FF >, bb::SingleBusLookupRelation< FF, EntityId::kernel_calldata, EntityId::kernel_calldata_read_counts, EntityId::kernel_calldata_inverses, EntityId::kernel_calldata_indicator, EntityId::q_l >, bb::Poseidon2ExternalRelation< FF >, bb::Poseidon2InitialExternalRelation< FF >, bb::Poseidon2QuadInternalRelation< FF >, bb::Poseidon2QuadInternalTerminalRelation< FF >, bb::Poseidon2TransitionEntryRelation< FF > > Relations_
static constexpr size_t NUM_UNSHIFTED_ENTITIES
Hiding-kernel-only Mega variant: runs with ZK Sumcheck and a reduced relation set.
static constexpr bool USE_SIMD_SUMCHECK
static constexpr size_t TRACE_OFFSET
static constexpr bool HasZK
static constexpr size_t NUM_SUBRELATIONS
static constexpr bool USE_PADDING
AllEntities< FF > AllValues
ProverPolynomialsBase< AllEntities< Polynomial >, AllValues, Polynomial > ProverPolynomials
Curve::AffineElement Commitment
static constexpr size_t MAX_PARTIAL_RELATION_LENGTH
static constexpr size_t NUM_WIRES
crypto::Poseidon2< crypto::Poseidon2Bn254ScalarFieldParams > HashFunction
static constexpr bool USE_SHORT_MONOMIALS
Curve::Element GroupElement
AllEntities< std::string > CommitmentLabels
static constexpr size_t NUM_RELATIONS
static constexpr size_t BATCHED_RELATION_PARTIAL_LENGTH
static const CommitmentLabels & commitment_labels()
Relations_< FF > Relations
static constexpr size_t FINAL_PCS_MSM_SIZE(size_t log_n=VIRTUAL_LOG_N)
static constexpr bool HasGeminiMasking
static constexpr size_t VIRTUAL_LOG_N
Base Native verification key class.
A container for polynomials handles used by the prover.
static constexpr size_t NUM_WIRES
Wrapper holding a verification key and its precomputed hash.
typename Group::element Element
typename Group::affine_element AffineElement
static constexpr uint32_t LIBRA_UNIVARIATES_LENGTH
Base class templates shared across Honk flavors.
Entry point for Barretenberg command-line interface.
constexpr size_t NUM_SMALL_IPA_COMMITMENTS
BaseTranscript< FrCodec, bb::crypto::Poseidon2< bb::crypto::Poseidon2Bn254ScalarFieldParams > > NativeTranscript
MegaCircuitBuilder_< field< Bn254FrParams > > MegaCircuitBuilder
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
The precomputed data needed to compute a Honk VK.