|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <prover.hpp>
Public Types | |
| using | Flavor = AvmFlavor |
| using | FF = Flavor::FF |
| using | PCS = Flavor::PCS |
| using | Curve = Flavor::Curve |
| using | PCSCommitmentKey = Flavor::CommitmentKey |
| using | ProvingKey = Flavor::ProvingKey |
| using | VerificationKey = Flavor::VerificationKey |
| using | Polynomial = Flavor::Polynomial |
| using | ProverPolynomials = Flavor::ProverPolynomials |
| using | Transcript = Flavor::Transcript |
| using | Proof = HonkProof |
Public Member Functions | |
| AvmProver (std::shared_ptr< ProvingKey > input_key, std::shared_ptr< VerificationKey > vk, const PCSCommitmentKey &commitment_key) | |
| AvmProver (AvmProver &&prover)=default | |
| virtual | ~AvmProver ()=default |
| virtual void | execute_preamble_round () |
| Add circuit size, public input size, and public inputs to transcript. | |
| virtual void | execute_public_inputs_round () |
| Add public inputs to transcript. | |
| virtual void | execute_wire_commitments_round () |
| Compute commitments to all of the witness wires (apart from the logderivative inverse wires) | |
| virtual void | execute_log_derivative_inverse_round () |
| virtual void | execute_log_derivative_inverse_commitments_round () |
| virtual void | execute_relation_check_rounds () |
| Run Sumcheck resulting in u = (u_1,...,u_d) challenges and all evaluations at u being calculated. | |
| virtual void | execute_pcs_rounds () |
| virtual HonkProof | export_proof () |
| virtual HonkProof | construct_proof () |
Public Attributes | |
| std::shared_ptr< Transcript > | transcript = std::make_shared<Transcript>() |
| std::vector< FF > | public_inputs |
| bb::RelationParameters< FF > | relation_parameters |
| std::shared_ptr< ProvingKey > | key |
| std::shared_ptr< VerificationKey > | vk |
| ProverPolynomials | prover_polynomials |
| Flavor::WitnessCommitments | witness_commitments |
| Polynomial | quotient_W |
| SumcheckOutput< Flavor > | sumcheck_output |
| PCSCommitmentKey | commitment_key |
Definition at line 11 of file prover.hpp.
Definition at line 16 of file prover.hpp.
| using bb::avm2::AvmProver::FF = Flavor::FF |
Definition at line 14 of file prover.hpp.
| using bb::avm2::AvmProver::Flavor = AvmFlavor |
Definition at line 13 of file prover.hpp.
| using bb::avm2::AvmProver::PCS = Flavor::PCS |
Definition at line 15 of file prover.hpp.
Definition at line 17 of file prover.hpp.
Definition at line 20 of file prover.hpp.
| using bb::avm2::AvmProver::Proof = HonkProof |
Definition at line 23 of file prover.hpp.
Definition at line 21 of file prover.hpp.
Definition at line 18 of file prover.hpp.
Definition at line 22 of file prover.hpp.
Definition at line 19 of file prover.hpp.
|
explicit |
Create AvmProver from proving key, witness and manifest.
| input_key | Proving key. |
| input_manifest | Input manifest |
| settings | Settings class. |
Definition at line 35 of file prover.cpp.
|
default |
|
virtualdefault |
|
virtual |
Definition at line 187 of file prover.cpp.
|
virtual |
Definition at line 123 of file prover.cpp.
|
virtual |
Definition at line 96 of file prover.cpp.
|
virtual |
Definition at line 164 of file prover.cpp.
|
virtual |
Add circuit size, public input size, and public inputs to transcript.
Definition at line 48 of file prover.cpp.
|
virtual |
Add public inputs to transcript.
Definition at line 60 of file prover.cpp.
|
virtual |
Run Sumcheck resulting in u = (u_1,...,u_d) challenges and all evaluations at u being calculated.
Definition at line 141 of file prover.cpp.
|
virtual |
Compute commitments to all of the witness wires (apart from the logderivative inverse wires)
Definition at line 82 of file prover.cpp.
|
virtual |
Definition at line 182 of file prover.cpp.
| PCSCommitmentKey bb::avm2::AvmProver::commitment_key |
Definition at line 62 of file prover.hpp.
| std::shared_ptr<ProvingKey> bb::avm2::AvmProver::key |
Definition at line 50 of file prover.hpp.
| ProverPolynomials bb::avm2::AvmProver::prover_polynomials |
Definition at line 54 of file prover.hpp.
| std::vector<FF> bb::avm2::AvmProver::public_inputs |
Definition at line 46 of file prover.hpp.
| Polynomial bb::avm2::AvmProver::quotient_W |
Definition at line 58 of file prover.hpp.
| bb::RelationParameters<FF> bb::avm2::AvmProver::relation_parameters |
Definition at line 48 of file prover.hpp.
| SumcheckOutput<Flavor> bb::avm2::AvmProver::sumcheck_output |
Definition at line 60 of file prover.hpp.
| std::shared_ptr<Transcript> bb::avm2::AvmProver::transcript = std::make_shared<Transcript>() |
Definition at line 44 of file prover.hpp.
| std::shared_ptr<VerificationKey> bb::avm2::AvmProver::vk |
Definition at line 51 of file prover.hpp.
| Flavor::WitnessCommitments bb::avm2::AvmProver::witness_commitments |
Definition at line 56 of file prover.hpp.