Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
oink_recursive_verifier.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
10
12
13template <typename Flavor> class OinkRecursiveVerifier_ {
14 public:
15 using FF = typename Flavor::FF;
24 using OinkProof = std::vector<FF>;
25
38 const std::shared_ptr<Transcript>& transcript,
39 std::string domain_separator = "");
40
50 std::string domain_separator = "");
51
56 void verify();
57
62 void verify_proof(const OinkProof& proof);
63
66 std::shared_ptr<Transcript> transcript = std::make_shared<Transcript>();
67 std::string domain_separator; // used in PG to distinguish between verification_keys in transcript
68};
69
70} // namespace bb::stdlib::recursion::honk
Common transcript class for both parties. Stores the data for the current round, as well as the manif...
The verification key is responsible for storing the commitments to the precomputed (non-witness) poly...
WitnessEntities< Commitment > WitnessCommitments
A container for the witness commitments.
Curve::ScalarField FF
std::array< FF, NUM_SUBRELATIONS - 1 > SubrelationSeparators
Curve::Element GroupElement
MegaCircuitBuilder CircuitBuilder
Curve::AffineElement Commitment
typename Flavor::SubrelationSeparators SubrelationSeparators
void verify_proof(const OinkProof &proof)
Constructs an oink recursive verifier circuit for a provided oink proof.
void verify()
Constructs an oink recursive verifier circuit for an oink proof assumed to be contained in the transc...
The stdlib counterpart of DeciderVerificationKey, used in recursive folding verification.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13