Versions in this module Expand all Collapse all v0 v0.1.0 Mar 10, 2021 Changes in this version + var GOST34102001 *elliptic.CurveParams + func F(ec elliptic.Curve, x *big.Int) (*big.Int, error) + type Generator struct + func GeneratorG(curve elliptic.Curve) (generator *Generator) + func GeneratorH(curve elliptic.Curve, ha gost3410.HashAlgorithm) (generator *Generator) + func NewGenerator(curve elliptic.Curve, ha gost3410.HashAlgorithm, seed []byte) (generator *Generator) + type Point struct + X *big.Int + Y *big.Int + func MapToGroup(ec elliptic.Curve, ha gost3410.HashAlgorithm, m string) (*Point, error) + func (p *Point) Add(ec elliptic.Curve, a, b *Point) *Point + func (p *Point) Bytes(curve elliptic.Curve) []byte + func (p *Point) IsOnCurve(ec elliptic.Curve) bool + func (p *Point) IsZero() bool + func (p *Point) Neg(ec elliptic.Curve, a *Point) *Point + func (p *Point) ScalarBaseMult(ec elliptic.Curve, n *big.Int) *Point + func (p *Point) ScalarMult(ec elliptic.Curve, a *Point, n *big.Int) *Point + func (p *Point) SetInfinity() *Point