Versions in this module Expand all Collapse all v1 v1.0.0 May 30, 2021 Changes in this version + const ScalarSize + type Curve struct + func (Curve) Add(P, Q *Point) *Point + func (Curve) Double(P *Point) *Point + func (Curve) Generator() *Point + func (Curve) Identity() *Point + func (Curve) IsOnCurve(P *Point) bool + func (Curve) Order() Scalar + func (e Curve) CombinedMult(m, n *Scalar, P *Point) *Point + func (e Curve) ScalarBaseMult(k *Scalar) *Point + func (e Curve) ScalarMult(k *Scalar, P *Point) *Point + type Point struct + func FromAffine(x, y *fp.Elt) (*Point, error) + func FromBytes(in []byte) (*Point, error) + func (P *Point) Add(Q *Point) + func (P *Point) Double() + func (P *Point) IsEqual(Q *Point) bool + func (P *Point) IsIdentity() bool + func (P *Point) MarshalBinary() (data []byte, err error) + func (P *Point) Neg() + func (P *Point) ToAffine() (x, y fp.Elt) + func (P *Point) ToBytes(out []byte) error + func (P *Point) UnmarshalBinary(data []byte) error + func (P Point) String() string + type Scalar [ScalarSize]byte + func (z *Scalar) Add(x, y *Scalar) + func (z *Scalar) FromBytes(x []byte) + func (z *Scalar) IsZero() bool + func (z *Scalar) Mul(x, y *Scalar) + func (z *Scalar) Neg() + func (z *Scalar) Red() + func (z *Scalar) Sub(x, y *Scalar)