Versions in this module Expand all Collapse all v0 v0.1.0 Mar 11, 2024 Changes in this version + var One = big.NewInt(1) + var Zero = big.NewInt(0) + func CurveForOID(oid asn1.ObjectIdentifier) elliptic.Curve + func OidFromCurve(curve elliptic.Curve) (asn1.ObjectIdentifier, bool) + func RecoverBytes(ssvs []*SSVShare) (*big.Int, error) + type PtEC struct + X *big.Int + Y *big.Int + func (pt *PtEC) Equals(pt2 *PtEC) bool + type SSVShare struct + ECOID asn1.ObjectIdentifier + FValue *big.Int + PD []*PtEC + func SplitBytes(secret []byte, n, t int, ecc elliptic.Curve) ([]*SSVShare, error) + func (ssvs *SSVShare) Verify() error + type TTVCurve struct + G *PtEC + H *PtEC + func NewCrv(elcrv elliptic.Curve) *TTVCurve + func (cr *TTVCurve) Add(pt1, pt2 *PtEC) *PtEC + func (cr *TTVCurve) Neg(pt *PtEC) *PtEC + func (cr *TTVCurve) Pedersen(s, t *big.Int) *PtEC + func (cr *TTVCurve) RandomFieldElement() *big.Int + func (cr *TTVCurve) RandomPoint() *PtEC + func (cr *TTVCurve) ReadECFHash() []byte + func (cr *TTVCurve) ScalarMult(sclr *big.Int, pt *PtEC) *PtEC + func (cr *TTVCurve) Y(x *big.Int) *big.Int + func (cr *TTVCurve) Zero() *PtEC