Barretenberg
The ZK-SNARK library at the core of Aztec
|
Representation of the Grumpkin Verifier Commitment Key inside a bn254 circuit. More...
#include <verifier_commitment_key.hpp>
Public Types | |
using | Curve = Curve_ |
using | Builder = Curve::Builder |
using | Commitment = Curve::AffineElement |
using | NativeEmbeddedCurve = typename Builder::EmbeddedCurve |
Public Member Functions | |
VerifierCommitmentKey (Builder *builder, size_t num_points, const VerifierCommitmentKey< NativeEmbeddedCurve > &native_pcs_verification_key) | |
Construct a new Verifier Commitment Key object from its native counterpart. instantiated on Grumpkin. This will be part of the ECCVMRecursiveFlavor once implemented. The Grumpkin SRS points are represented after applying the pippenger point table so the values at odd indices contain the point {srs[i-1].x * beta, srs[i-1].y}, where beta is the endomorphism. We retrieve only the original SRS for IPA verification. | |
VerifierCommitmentKey ()=default | |
Commitment | get_g1_identity () const |
std::vector< Commitment > | get_monomial_points () const |
Private Attributes | |
Commitment | g1_identity |
std::vector< Commitment > | monomial_points |
Representation of the Grumpkin Verifier Commitment Key inside a bn254 circuit.
Builder |
Definition at line 16 of file verifier_commitment_key.hpp.
using bb::VerifierCommitmentKey< Curve_ >::Builder = Curve::Builder |
Definition at line 19 of file verifier_commitment_key.hpp.
using bb::VerifierCommitmentKey< Curve_ >::Commitment = Curve::AffineElement |
Definition at line 20 of file verifier_commitment_key.hpp.
using bb::VerifierCommitmentKey< Curve_ >::Curve = Curve_ |
Definition at line 18 of file verifier_commitment_key.hpp.
using bb::VerifierCommitmentKey< Curve_ >::NativeEmbeddedCurve = typename Builder::EmbeddedCurve |
Definition at line 21 of file verifier_commitment_key.hpp.
|
inline |
Construct a new Verifier Commitment Key object from its native counterpart. instantiated on Grumpkin. This will be part of the ECCVMRecursiveFlavor once implemented. The Grumpkin SRS points are represented after applying the pippenger point table so the values at odd indices contain the point {srs[i-1].x * beta, srs[i-1].y}, where beta is the endomorphism. We retrieve only the original SRS for IPA verification.
The Grumpkin SRS points will be initialized as constants in the circuit but might be subsequently turned into constant witnesses to make operations in the circuit more efficient.
Definition at line 32 of file verifier_commitment_key.hpp.
|
default |
|
inline |
Definition at line 47 of file verifier_commitment_key.hpp.
|
inline |
Definition at line 48 of file verifier_commitment_key.hpp.
|
private |
Definition at line 51 of file verifier_commitment_key.hpp.
|
private |
Definition at line 52 of file verifier_commitment_key.hpp.