Documentation ¶
Index ¶
- Variables
- func CurveForOID(oid asn1.ObjectIdentifier) elliptic.Curve
- func OidFromCurve(curve elliptic.Curve) (asn1.ObjectIdentifier, bool)
- func RecoverBytes(ssvs []*SSVShare) (*big.Int, error)
- type PtEC
- type SSVShare
- type 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
Constants ¶
This section is empty.
Variables ¶
View Source
var One = big.NewInt(1)
View Source
var Zero = big.NewInt(0)
Useful shorts
Functions ¶
func CurveForOID ¶
func CurveForOID(oid asn1.ObjectIdentifier) elliptic.Curve
func OidFromCurve ¶
func OidFromCurve(curve elliptic.Curve) (asn1.ObjectIdentifier, bool)
Types ¶
type TTVCurve ¶
func (*TTVCurve) RandomFieldElement ¶
func (*TTVCurve) RandomPoint ¶
func (*TTVCurve) ReadECFHash ¶
Read a hash with the EC field as a target
Click to show internal directories.
Click to hide internal directories.