Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <decider_verifier.hpp>
Classes | |
struct | Output |
Public Member Functions | |
DeciderVerifier_ () | |
DeciderVerifier_ (const std::shared_ptr< DeciderVerificationKey > &verification_key, const std::shared_ptr< Transcript > &transcript=std::make_shared< Transcript >()) | |
Constructor from a verification key and a transcript assumed to be initialized with a full Honk proof. | |
Output | verify_proof (const DeciderProof &) |
Verify a decider proof relative to a decider verification key (ϕ, \vec{β*}, e*). | |
Output | verify () |
Verify a decider proof that is assumed to be contained in the transcript. | |
Public Attributes | |
std::shared_ptr< VerificationKey > | key |
std::shared_ptr< DeciderVerificationKey > | accumulator |
std::shared_ptr< Transcript > | transcript |
Private Types | |
using | FF = typename Flavor::FF |
using | Commitment = typename Flavor::Commitment |
using | VerificationKey = typename Flavor::VerificationKey |
using | Transcript = typename Flavor::Transcript |
using | DeciderVerificationKey = DeciderVerificationKey_< Flavor > |
using | DeciderProof = typename Transcript::Proof |
Definition at line 17 of file decider_verifier.hpp.
|
private |
Definition at line 19 of file decider_verifier.hpp.
|
private |
Definition at line 23 of file decider_verifier.hpp.
|
private |
Definition at line 22 of file decider_verifier.hpp.
|
private |
Definition at line 18 of file decider_verifier.hpp.
|
private |
Definition at line 21 of file decider_verifier.hpp.
|
private |
Definition at line 20 of file decider_verifier.hpp.
|
explicit |
|
explicit |
Constructor from a verification key and a transcript assumed to be initialized with a full Honk proof.
Used in the case where an external transcript already exists and has been initialized with a proof, e.g. when the decider is being used in the context of the larger Honk protocol.
Definition at line 18 of file decider_verifier.cpp.
DeciderVerifier_< Flavor >::Output bb::DeciderVerifier_< Flavor >::verify | ( | ) |
Verify a decider proof that is assumed to be contained in the transcript.
Definition at line 38 of file decider_verifier.cpp.
DeciderVerifier_< Flavor >::Output bb::DeciderVerifier_< Flavor >::verify_proof | ( | const DeciderProof & | proof | ) |
Verify a decider proof relative to a decider verification key (ϕ, \vec{β*}, e*).
Definition at line 28 of file decider_verifier.cpp.
std::shared_ptr<DeciderVerificationKey> bb::DeciderVerifier_< Flavor >::accumulator |
Definition at line 54 of file decider_verifier.hpp.
std::shared_ptr<VerificationKey> bb::DeciderVerifier_< Flavor >::key |
Definition at line 53 of file decider_verifier.hpp.
std::shared_ptr<Transcript> bb::DeciderVerifier_< Flavor >::transcript |
Definition at line 55 of file decider_verifier.hpp.