29template <
class Curve>
class VerifierCommitmentKey;
47 srs = srs::get_crs_factory<Curve>()->get_verifier_crs();
57 return srs->get_g1_identity();
75 return (result == Curve::TargetField::one());
101 : srs(crs_factory->get_crs(num_points))
typename Curve::Element GroupElement
Commitment get_g1_identity()
bool operator==(const VerifierCommitmentKey &) const =default
std::shared_ptr< bb::srs::factories::Crs< Curve > > srs
VerifierCommitmentKey()=default
bool pairing_check(const GroupElement &p0, const GroupElement &p1)
verifies a pairing equation over 2 points using the verifier SRS
typename Curve::AffineElement Commitment
VerifierCommitmentKey()=default
Commitment get_g1_identity() const
std::span< const Commitment > get_monomial_points() const
VerifierCommitmentKey(size_t num_points)
typename Curve::AffineElement Commitment
VerifierCommitmentKey(size_t num_points, const std::shared_ptr< bb::srs::factories::CrsFactory< Curve > > &crs_factory)
Construct a new IPA Verification Key object from existing SRS.
typename Curve::Element GroupElement
bool operator==(const VerifierCommitmentKey &) const =default
std::shared_ptr< bb::srs::factories::Crs< Curve > > srs
Representation of the Grumpkin Verifier Commitment Key inside a bn254 circuit.
typename Group::element Element
typename Group::affine_element AffineElement
fq12 reduced_ate_pairing_batch_precomputed(const g1::affine_element *P_affines, const miller_lines *lines, size_t num_points)
Entry point for Barretenberg command-line interface.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept