Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
ultra_zk_recursive_flavor.hpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: Planned, auditors: [], commit: }
3// external_1: { status: not started, auditors: [], commit: }
4// external_2: { status: not started, auditors: [], commit: }
5// =====================
6
7#pragma once
11
12namespace bb {
13
28template <typename BuilderType> class UltraZKRecursiveFlavor_ : public UltraRecursiveFlavor_<BuilderType> {
29 public:
34
35 static constexpr bool HasZK = true;
36
37 // The number of entities added for ZK (gemini_masking_poly)
38 static constexpr size_t NUM_MASKING_POLYNOMIALS = 1;
39
40 // NUM_ALL_ENTITIES includes gemini_masking_poly
41 static constexpr size_t NUM_ALL_ENTITIES =
43
45
47 {
49 }
50
51 // Override to include ZK entities
52 class AllValues : public UltraFlavor::AllEntities_<FF, HasZK> {
53 public:
55 using Base::Base;
56 };
57
59};
60
61} // namespace bb
Base Stdlib verification key class.
Definition flavor.hpp:353
A base class labelling all entities (for instance, all of the polynomials used by the prover during s...
A container encapsulating all the commitments that the verifier receives (to precomputed polynomials ...
The recursive counterpart to the "native" Ultra flavor.
typename Curve::Element Commitment
typename Curve::ScalarField FF
Child class of UltraFlavor that runs with ZK Sumcheck.
static constexpr size_t FINAL_PCS_MSM_SIZE(size_t log_n=CONST_PROOF_SIZE_LOG_N)
static constexpr size_t BATCHED_RELATION_PARTIAL_LENGTH
The recursive counterpart to the Ultra flavor with ZK.
static constexpr size_t FINAL_PCS_MSM_SIZE(size_t log_n=UltraRecursiveFlavor_< BuilderType >::VIRTUAL_LOG_N)
static constexpr size_t NUM_MASKING_POLYNOMIALS
static constexpr size_t BATCHED_RELATION_PARTIAL_LENGTH
typename UltraRecursiveFlavor_< BuilderType >::VerificationKey VerificationKey
typename UltraRecursiveFlavor_< BuilderType >::Commitment Commitment
typename UltraRecursiveFlavor_< BuilderType >::FF FF
Entry point for Barretenberg command-line interface.
Definition api.hpp:5