Versions in this module Expand all Collapse all v0 v0.10.0 Apr 22, 2024 Changes in this version + type BaseField = emulated.BW6761Fp + type G1 struct + func NewG1(api frontend.API) (*G1, error) + type G1Affine = sw_emulated.AffinePoint[BaseField] + func NewG1Affine(v bw6761.G1Affine) G1Affine + type G2 struct + func NewG2(api frontend.API) (*G2, error) + func (g2 *G2) AssertIsEqual(p, q *G2Affine) + type G2Affine struct + Lines *lineEvaluations + P g2AffP + func NewG2Affine(v bw6761.G2Affine) G2Affine + func NewG2AffineFixed(v bw6761.G2Affine) G2Affine + func NewG2AffineFixedPlaceholder() G2Affine + type GTEl = fields_bw6761.E6 + func NewGTEl(v bw6761.GT) GTEl + type Pairing struct + func NewPairing(api frontend.API) (*Pairing, error) + func (pr Pairing) AssertIsEqual(x, y *GTEl) + func (pr Pairing) AssertIsOnCurve(P *G1Affine) + func (pr Pairing) AssertIsOnG1(P *G1Affine) + func (pr Pairing) AssertIsOnG2(Q *G2Affine) + func (pr Pairing) AssertIsOnTwist(Q *G2Affine) + func (pr Pairing) FinalExponentiation(z *GTEl) *GTEl + func (pr Pairing) MillerLoop(P []*G1Affine, Q []*G2Affine) (*GTEl, error) + func (pr Pairing) Pair(P []*G1Affine, Q []*G2Affine) (*GTEl, error) + func (pr Pairing) PairingCheck(P []*G1Affine, Q []*G2Affine) error + type Scalar = emulated.Element[ScalarField] + func NewScalar(v fr_bw6761.Element) Scalar + type ScalarField = emulated.BW6761Fr