Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <decider_recursive_verifier.hpp>
Public Member Functions | |
DeciderRecursiveVerifier_ (Builder *builder, std::shared_ptr< NativeDeciderVK > accumulator) | |
DeciderRecursiveVerifier_ (Builder *builder, std::shared_ptr< RecursiveDeciderVK > accumulator, const std::shared_ptr< Transcript > &transcript) | |
Construct a decider recursive verifier directly from a stdlib accumulator, returned by a prior iteration of a recursive folding verifier. This is only appropriate when the two verifiers are part of the same builder, otherwise the constructor above should be used which instantiatesn a recursive vk from a native one in the verifier's builder context. | |
PairingPoints | verify_proof (const HonkProof &proof) |
Creates a circuit that executes the decider verifier algorithm up to the final pairing check. | |
PairingPoints | verify_proof (const StdlibProof &proof) |
Creates a circuit that executes the decider verifier algorithm up to the final pairing check. | |
Public Attributes | |
VerifierCommitmentKey | pcs_verification_key |
Builder * | builder |
std::shared_ptr< RecursiveDeciderVK > | accumulator |
std::shared_ptr< Transcript > | transcript = std::make_shared<Transcript>() |
Private Types | |
using | NativeFlavor = typename Flavor::NativeFlavor |
using | FF = typename Flavor::FF |
using | Commitment = typename Flavor::Commitment |
using | GroupElement = typename Flavor::GroupElement |
using | VerificationKey = typename Flavor::VerificationKey |
using | VerifierCommitmentKey = typename Flavor::VerifierCommitmentKey |
using | Builder = typename Flavor::CircuitBuilder |
using | PairingPoints = stdlib::recursion::PairingPoints< Builder > |
using | RecursiveDeciderVK = RecursiveDeciderVerificationKey_< Flavor > |
using | NativeDeciderVK = bb::DeciderVerificationKey_< NativeFlavor > |
using | Transcript = bb::BaseTranscript< bb::stdlib::recursion::honk::StdlibTranscriptParams< Builder > > |
using | StdlibProof = bb::stdlib::Proof< Builder > |
Definition at line 17 of file decider_recursive_verifier.hpp.
|
private |
Definition at line 24 of file decider_recursive_verifier.hpp.
|
private |
Definition at line 20 of file decider_recursive_verifier.hpp.
|
private |
Definition at line 19 of file decider_recursive_verifier.hpp.
|
private |
Definition at line 21 of file decider_recursive_verifier.hpp.
|
private |
Definition at line 27 of file decider_recursive_verifier.hpp.
|
private |
Definition at line 18 of file decider_recursive_verifier.hpp.
|
private |
Definition at line 25 of file decider_recursive_verifier.hpp.
|
private |
Definition at line 26 of file decider_recursive_verifier.hpp.
|
private |
Definition at line 29 of file decider_recursive_verifier.hpp.
|
private |
Definition at line 28 of file decider_recursive_verifier.hpp.
|
private |
Definition at line 22 of file decider_recursive_verifier.hpp.
|
private |
Definition at line 23 of file decider_recursive_verifier.hpp.
|
inlineexplicit |
Definition at line 32 of file decider_recursive_verifier.hpp.
|
inlineexplicit |
Construct a decider recursive verifier directly from a stdlib accumulator, returned by a prior iteration of a recursive folding verifier. This is only appropriate when the two verifiers are part of the same builder, otherwise the constructor above should be used which instantiatesn a recursive vk from a native one in the verifier's builder context.
builder | |
accumulator |
Definition at line 45 of file decider_recursive_verifier.hpp.
DeciderRecursiveVerifier_< Flavor >::PairingPoints bb::stdlib::recursion::honk::DeciderRecursiveVerifier_< Flavor >::verify_proof | ( | const HonkProof & | proof | ) |
Creates a circuit that executes the decider verifier algorithm up to the final pairing check.
proof | Native proof |
Definition at line 21 of file decider_recursive_verifier.cpp.
DeciderRecursiveVerifier_< Flavor >::PairingPoints bb::stdlib::recursion::honk::DeciderRecursiveVerifier_< Flavor >::verify_proof | ( | const StdlibProof & | proof | ) |
Creates a circuit that executes the decider verifier algorithm up to the final pairing check.
proof | Stdlib proof |
Definition at line 33 of file decider_recursive_verifier.cpp.
std::shared_ptr<RecursiveDeciderVK> bb::stdlib::recursion::honk::DeciderRecursiveVerifier_< Flavor >::accumulator |
Definition at line 64 of file decider_recursive_verifier.hpp.
Builder* bb::stdlib::recursion::honk::DeciderRecursiveVerifier_< Flavor >::builder |
Definition at line 63 of file decider_recursive_verifier.hpp.
VerifierCommitmentKey bb::stdlib::recursion::honk::DeciderRecursiveVerifier_< Flavor >::pcs_verification_key |
Definition at line 62 of file decider_recursive_verifier.hpp.
std::shared_ptr<Transcript> bb::stdlib::recursion::honk::DeciderRecursiveVerifier_< Flavor >::transcript = std::make_shared<Transcript>() |
Definition at line 65 of file decider_recursive_verifier.hpp.