Versions in this module Expand all Collapse all v0 v0.1.1 Jan 30, 2024 v0.1.0 Dec 5, 2023 Changes in this version + var ErrorInvalidPoint = errors.New("invalid point on secp256k1") + var Order = [32]byte(nBytes) + var P = [32]byte(pBytes) + func CompareBytes(a [32]byte, b [32]byte) int + func SCIsValid(a fe) int + type Compressed [33]byte + func (a Compressed) Uncompress() (*Point, error) + type Point struct + func GEAdd(a *Point, b *Point) *Point + func GEDouble(p *Point) *Point + func GEPoint(n Scalar) *Point + func GEVartimePoint(n Scalar) *Point + func (p *Point) Compress() Compressed + type Scalar [32]byte + func SCAdd(a Scalar, b Scalar) Scalar