func crypto/internal/fips140/ecdh.NewPrivateKey
5 uses
crypto/internal/fips140/ecdh (current package)
ecdh.go#L160: privateKey, err := NewPrivateKey(c, key)
ecdh.go#L168: func NewPrivateKey[P Point[P]](c *Curve[P], key []byte) (*PrivateKey, error) {
crypto/ecdh
nist.go#L170: return ecdh.NewPrivateKey(ecdh.P256(), b)
nist.go#L193: return ecdh.NewPrivateKey(ecdh.P384(), b)
nist.go#L216: return ecdh.NewPrivateKey(ecdh.P521(), b)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)