type crypto/internal/fips140/ecdsa.PrivateKey
19 uses
crypto/internal/fips140/ecdsa (current package)
cast.go#L16: func testPrivateKey() *PrivateKey {
cast.go#L18: return &PrivateKey{
cast.go#L54: func fipsPCT[P Point[P]](c *Curve[P], k *PrivateKey) {
ecdsa.go#L23: type PrivateKey struct {
ecdsa.go#L28: func (priv *PrivateKey) Bytes() []byte {
ecdsa.go#L32: func (priv *PrivateKey) PublicKey() *PublicKey {
ecdsa.go#L162: func NewPrivateKey[P Point[P]](c *Curve[P], D, Q []byte) (*PrivateKey, error) {
ecdsa.go#L178: priv := &PrivateKey{pub: *pub, d: d.Bytes(c.N)}
ecdsa.go#L199: func GenerateKey[P Point[P]](c *Curve[P], rand io.Reader) (*PrivateKey, error) {
ecdsa.go#L209: priv := &PrivateKey{
ecdsa.go#L281: func Sign[P Point[P], H hash.Hash](c *Curve[P], h func() H, priv *PrivateKey, rand io.Reader, hash []byte) (*Signature, error) {
ecdsa.go#L314: func SignDeterministic[P Point[P], H hash.Hash](c *Curve[P], h func() H, priv *PrivateKey, hash []byte) (*Signature, error) {
ecdsa.go#L332: func signGeneric[P Point[P]](c *Curve[P], priv *PrivateKey, drbg *hmacDRBG, hash []byte) (*Signature, error) {
ecdsa_noasm.go#L9: func sign[P Point[P]](c *Curve[P], priv *PrivateKey, drbg *hmacDRBG, hash []byte) (*Signature, error) {
crypto/ecdsa
ecdsa.go#L556: func privateKeyFromFIPS(curve elliptic.Curve, priv *ecdsa.PrivateKey) (*PrivateKey, error) {
ecdsa.go#L572: var privateKeyCache fips140cache.Cache[PrivateKey, ecdsa.PrivateKey]
ecdsa.go#L574: func privateKeyToFIPS[P ecdsa.Point[P]](c *ecdsa.Curve[P], priv *PrivateKey) (*ecdsa.PrivateKey, error) {
ecdsa.go#L595: return privateKeyCache.Get(priv, func() (*ecdsa.PrivateKey, error) {
ecdsa.go#L597: }, func(k *ecdsa.PrivateKey) bool {
 |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |