Versions in this module Expand all Collapse all v1 v1.0.1 Dec 19, 2019 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) 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) Set(a *G1) *G1 + func (e *G1) Unmarshal(m []byte) ([]byte, error) + func (g *G1) String() string + type G2 struct + func RandomG2(r io.Reader) (*big.Int, *G2, error) + func (e *G2) Add(a, b *G2) *G2 + func (e *G2) Marshal() []byte + func (e *G2) Neg(a *G2) *G2 + func (e *G2) ScalarBaseMult(k *big.Int) *G2 + func (e *G2) ScalarMult(a *G2, k *big.Int) *G2 + func (e *G2) Set(a *G2) *G2 + func (e *G2) String() string + func (e *G2) Unmarshal(m []byte) ([]byte, error) + type GT struct + func Miller(g1 *G1, g2 *G2) *GT + func Pair(g1 *G1, g2 *G2) *GT + func (e *GT) Add(a, b *GT) *GT + func (e *GT) Finalize() *GT + func (e *GT) Marshal() []byte + func (e *GT) Neg(a *GT) *GT + func (e *GT) ScalarMult(a *GT, k *big.Int) *GT + func (e *GT) Set(a *GT) *GT + func (e *GT) Unmarshal(m []byte) ([]byte, error) + func (g *GT) String() string