Versions in this module Expand all Collapse all v1 v1.13.13 Aug 9, 2024 Changes in this version + var Order = bigFromBase10(...) + var P = bigFromBase10(...) + func PairingCheck(a []*G1, b []*G2) bool + type G1 struct + func RandomG1(r io.Reader) (*big.Int, *G1, error) + func (e *G1) Add(a, b *G1) *G1 + func (e *G1) CurvePoints() (*big.Int, *big.Int, *big.Int, *big.Int) + func (e *G1) Marshal() []byte + func (e *G1) Neg(a *G1) *G1 + func (e *G1) ScalarBaseMult(k *big.Int) *G1 + func (e *G1) ScalarMult(a *G1, k *big.Int) *G1 + func (e *G1) String() string + func (e *G1) Unmarshal(m []byte) ([]byte, error) + type G2 struct + func RandomG2(r io.Reader) (*big.Int, *G2, error) + func (e *G2) Add(a, b *G2) *G2 + func (e *G2) CurvePoints() (*gfP2, *gfP2, *gfP2, *gfP2) + func (e *G2) ScalarBaseMult(k *big.Int) *G2 + func (e *G2) ScalarMult(a *G2, k *big.Int) *G2 + func (e *G2) String() string + func (e *G2) Unmarshal(m []byte) ([]byte, error) + func (n *G2) Marshal() []byte + type GT struct + func Pair(g1 *G1, g2 *G2) *GT + func (e *GT) Add(a, b *GT) *GT + func (e *GT) Neg(a *GT) *GT + func (e *GT) ScalarMult(a *GT, k *big.Int) *GT + func (e *GT) Unmarshal(m []byte) (*GT, bool) + func (g *GT) String() string + func (n *GT) Marshal() []byte