|
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 recursive (in-circuit) Verifier Commitment Key from its native Grumpkin counterpart. The first num_points native Grumpkin SRS monomial points are copied directly into in-circuit commitments; these are the raw SRS points used for IPA verification. | |
| std::vector< Commitment > | get_monomial_points () const |
Private Attributes | |
| 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 recursive (in-circuit) Verifier Commitment Key from its native Grumpkin counterpart. The first num_points native Grumpkin SRS monomial points are copied directly into in-circuit commitments; these are the raw SRS points used for IPA verification.
The Grumpkin SRS points are 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 31 of file verifier_commitment_key.hpp.
|
inline |
Definition at line 42 of file verifier_commitment_key.hpp.
|
private |
Definition at line 45 of file verifier_commitment_key.hpp.