Versions in this module Expand all Collapse all v0 v0.1.7 Oct 27, 2023 Changes in this version + func FlattenECPoints(in []*ECPoint) ([]*big.Int, error) + func GenerateNTildei(safePrimes [2]*big.Int) (NTildei, h1i, h2i *big.Int, err error) + type ECPoint struct + func DecompressPoint(curve elliptic.Curve, x *big.Int, sign byte) (*ECPoint, error) + func ECBasePoint2(curve elliptic.Curve) (pt *ECPoint, err error) + func NewECPoint(curve elliptic.Curve, X, Y *big.Int) (*ECPoint, error) + func NewECPointFromProtobuf(p *common.ECPoint) (*ECPoint, error) + func NewECPointNoCurveCheck(curve elliptic.Curve, X, Y *big.Int) *ECPoint + func ScalarBaseMult(curve elliptic.Curve, k *big.Int) *ECPoint + func UnFlattenECPoints(curve elliptic.Curve, in []*big.Int, noCurveCheck ...bool) ([]*ECPoint, error) + func (p *ECPoint) Add(b *ECPoint) (*ECPoint, error) + func (p *ECPoint) Bytes() []byte + func (p *ECPoint) EightInvEight() *ECPoint + func (p *ECPoint) Equals(b *ECPoint) bool + func (p *ECPoint) GobDecode(buf []byte) error + func (p *ECPoint) GobEncode() ([]byte, error) + func (p *ECPoint) IsOnCurve() bool + func (p *ECPoint) MarshalJSON() ([]byte, error) + func (p *ECPoint) Neg() *ECPoint + func (p *ECPoint) ScalarMult(k *big.Int) *ECPoint + func (p *ECPoint) ScalarMultBytes(k []byte) *ECPoint + func (p *ECPoint) SetCurve(curve elliptic.Curve) *ECPoint + func (p *ECPoint) Sub(b *ECPoint) (*ECPoint, error) + func (p *ECPoint) ToECDSAPubKey() *ecdsa.PublicKey + func (p *ECPoint) ToProtobufPoint() *common.ECPoint + func (p *ECPoint) UnmarshalJSON(payload []byte) error + func (p *ECPoint) ValidateBasic() bool + func (p *ECPoint) X() *big.Int + func (p *ECPoint) Y() *big.Int