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: not started, auditors: [], date: YYYY-MM-DD }
3// external_1: { status: not started, auditors: [], date: YYYY-MM-DD }
4// external_2: { status: not started, auditors: [], date: YYYY-MM-DD }
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
46 // Override to include ZK entities
47 class AllValues : public UltraFlavor::AllEntities_<FF, HasZK> {
48 public:
50 using Base::Base;
51 };
52
54};
55
56} // namespace bb
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 verification key is responsible for storing the commitments to the precomputed (non-witnessk) pol...
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 BATCHED_RELATION_PARTIAL_LENGTH
The recursive counterpart to the Ultra flavor with ZK.
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