Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
translator_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
16
17namespace bb {
19 public:
21 using FF = Flavor::FF;
22 using NativeBF = Flavor::Curve::BaseFieldNative;
25 using BF = Flavor::BF;
36
37 std::shared_ptr<VerificationKey> key;
39 std::shared_ptr<Transcript> transcript;
40 VerifierCommitmentKey pcs_verification_key; // can remove maybe hopefully
42
44
46 const std::shared_ptr<NativeVerificationKey>& native_verifier_key,
47 const std::shared_ptr<Transcript>& transcript);
48
49 void put_translation_data_in_relation_parameters(const BF& evaluation_input_x,
50 const BF& batching_challenge_v,
51 const BF& accumulated_result);
52
53 [[nodiscard("Pairing points should be accumulated")]] PairingPoints verify_proof(
54 const StdlibProof& proof,
55 const BF& evaluation_input_x,
56 const BF& batching_challenge_v,
57 const BF& accumulated_result,
59};
60} // namespace bb
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-witnessk) pol...
The verification key is responsible for storing the commitments to the precomputed (non-witnessk) pol...
The recursive counterpart of the native Translator flavor.
stdlib::bn254< CircuitBuilder > Curve
NativeFlavor::VerificationKey NativeVerificationKey
bb::VerifierCommitmentKey< NativeFlavor::Curve > VerifierCommitmentKey
std::shared_ptr< VerificationKey > key
void put_translation_data_in_relation_parameters(const BF &evaluation_input_x, const BF &batching_challenge_v, const BF &accumulated_result)
PairingPoints verify_proof(const StdlibProof &proof, const BF &evaluation_input_x, const BF &batching_challenge_v, const BF &accumulated_result, const std::array< Commitment, TranslatorFlavor::NUM_OP_QUEUE_WIRES > &op_queue_wire_commitments)
Creates a circuit that executes the Translator verifier algorithm up to the final pairing check.
Representation of the Grumpkin Verifier Commitment Key inside a bn254 circuit.
A simple wrapper around a vector of stdlib field elements representing a proof.
Definition proof.hpp:19
Entry point for Barretenberg command-line interface.
Definition api.hpp:5
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
Stores the evaluations of op, Px, Py, z1, and z2 computed by the ECCVM Prover. These evaluations are ...
An object storing two EC points that represent the inputs to a pairing check.