Versions in this module Expand all Collapse all v1 v1.0.0 Jul 19, 2021 Changes in this version + var Order = bigFromBase10(...) + type G1 struct + func (e *G1) Add(a, b *G1) *G1 + func (e *G1) Base() *G1 + func (e *G1) IsZero() bool + 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) error + func (e *G1) Zero() *G1 + func (g *G1) String() string + type G2 struct + func (e *G2) Add(a, b *G2) *G2 + func (e *G2) Base() *G2 + func (e *G2) IsZero() bool + 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) error + func (e *G2) Zero() *G2 + 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) Base() *GT + func (e *GT) Finalize() *GT + func (e *GT) IsZero() bool + func (e *GT) Marshal() []byte + func (e *GT) Neg(a *GT) *GT + func (e *GT) ScalarBaseMult(k *big.Int) *GT + func (e *GT) ScalarMult(a *GT, k *big.Int) *GT + func (e *GT) ScalarMultSimple(a *GT, k *big.Int) *GT + func (e *GT) Set(a *GT) *GT + func (e *GT) Unit() *GT + func (e *GT) Unmarshal(m []byte) error + func (e *GT) Zero() *GT + func (g *GT) String() string + type Scalar [4]uint64 + func (sc *Scalar) Bit(pos int) uint64 + func (sc *Scalar) IsZero() bool + func (sc *Scalar) Marshal() []byte + func (sc *Scalar) Unmarshal(in []byte) error + func (sc *Scalar) Zero() *Scalar