Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
multilinear_batching_proving_key.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
8#include <utility>
9
12namespace bb {
13// TODO(https://github.com/AztecProtocol/barretenberg/issues/1317)
15 public:
17 using FF = typename Flavor::FF;
23
24 std::shared_ptr<ProvingKey> proving_key;
33
35 std::vector<FF> accumulator_challenge,
36 std::vector<FF> instance_challenge,
37 std::vector<FF> accumulator_evaluations,
38 std::vector<FF> instance_evaluations,
45 {
46 BB_BENCH_NAME("MultilinearBatchingProvingKey(ProverPolynomials&)");
47
49 std::move(accumulator_challenge),
50 std::move(instance_challenge),
51 std::move(accumulator_evaluations),
52 std::move(instance_evaluations));
53 circuit_size = polynomials.get_polynomial_size();
54 this->non_shifted_accumulator_commitment = non_shifted_accumulator_commitment;
55 this->shifted_accumulator_commitment = shifted_accumulator_commitment;
56 this->non_shifted_instance_commitment = non_shifted_instance_commitment;
57 this->shifted_instance_commitment = shifted_instance_commitment;
58 this->preshifted_accumulator = preshifted_accumulator;
59 this->preshifted_instance = preshifted_instance;
60 };
61};
62} // namespace bb
#define BB_BENCH_NAME(name)
Definition bb_bench.hpp:218
A container for the prover polynomials handles.
The proving key is responsible for storing the polynomials used by the prover.
MultilinearBatchingProvingKey(ProverPolynomials &polynomials, std::vector< FF > accumulator_challenge, std::vector< FF > instance_challenge, std::vector< FF > accumulator_evaluations, std::vector< FF > instance_evaluations, Commitment non_shifted_accumulator_commitment, Commitment shifted_accumulator_commitment, Commitment non_shifted_instance_commitment, Commitment shifted_instance_commitment, Polynomial preshifted_accumulator, Polynomial preshifted_instance)
typename Flavor::ProverPolynomials ProverPolynomials
Entry point for Barretenberg command-line interface.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13