crypto/ecdsa.PrivateKey.D (field)
13 uses
crypto/ecdsa (current package)
ecdsa.go#L89: D *big.Int
ecdsa.go#L101: if k.D.BitLen() > size*8 {
ecdsa.go#L104: return c.NewPrivateKey(k.D.FillBytes(make([]byte, size)))
ecdsa.go#L133: return priv.PublicKey.Equal(&xx.PublicKey) && bigIntEqual(priv.D, xx.D)
ecdsa.go#L166: return &PrivateKey{PublicKey: PublicKey{Curve: c, X: bbig.Dec(x), Y: bbig.Dec(y)}, D: bbig.Dec(d)}, nil
ecdsa.go#L192: priv.D = new(big.Int).SetBytes(k.Bytes(c.N))
ecdsa.go#L322: s, err := bigmod.NewNat().SetBytes(priv.D.Bytes(), c.N)
ecdsa.go#L433: md.Write(priv.D.Bytes()) // the private key,
ecdsa_legacy.go#L28: priv.D = k
ecdsa_legacy.go#L103: s = new(big.Int).Mul(priv.D, r)
crypto/x509
sec1.go#L64: PrivateKey: key.D.FillBytes(privateKey),
sec1.go#L116: priv.D = k
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |