Versions in this module Expand all Collapse all v1 v1.1.21 Jul 5, 2021 Changes in this version + func Add(a, b *ecdsa.PublicKey) *ecdsa.PublicKey + func BlindMessage(rState *BlindRequesterState, Q, R *ecdsa.PublicKey, m *big.Int) *big.Int + func BlindSession(sState *BlindSignerState) (*ecdsa.PublicKey, *ecdsa.PublicKey) + func BlindSign(sState *BlindSignerState, R *ecdsa.PublicKey, mHat *big.Int) *big.Int + func BlindVerify(Q *ecdsa.PublicKey, sig *BlindSignature) bool + func ECDH(priv *ecdsa.PrivateKey, pub *ecdsa.PublicKey) *big.Int + func GenerateKey(rand io.Reader) (*ecdsa.PrivateKey, error) + func KeysEqual(a, b *ecdsa.PublicKey) bool + func RandFieldElement(rand io.Reader) (k *big.Int, err error) + func ScalarBaseMult(k *big.Int) *ecdsa.PublicKey + func ScalarMult(k *big.Int, B *ecdsa.PublicKey) *ecdsa.PublicKey + func Secp256k1() elliptic.Curve + type BlindRequesterState struct + F *ecdsa.PublicKey + Mhat *big.Int + X0 *big.Int + type BlindSignature struct + F *ecdsa.PublicKey + M *big.Int + S *big.Int + func BlindExtract(rState *BlindRequesterState, sHat *big.Int) *BlindSignature + type BlindSignerState struct + Q *ecdsa.PublicKey + type KoblitzCurve struct + B *big.Int + BitSize int + Gx *big.Int + Gy *big.Int + N *big.Int + P *big.Int + func (curve *KoblitzCurve) Add(x1, y1, x2, y2 *big.Int) (*big.Int, *big.Int) + func (curve *KoblitzCurve) Double(x1, y1 *big.Int) (*big.Int, *big.Int) + func (curve *KoblitzCurve) IsOnCurve(x, y *big.Int) bool + func (curve *KoblitzCurve) Params() *elliptic.CurveParams + func (curve *KoblitzCurve) ScalarBaseMult(k []byte) (*big.Int, *big.Int) + func (curve *KoblitzCurve) ScalarMult(Bx, By *big.Int, k []byte) (*big.Int, *big.Int)