func crypto/internal/fips140/ecdh.NewPublicKey
4 uses
crypto/internal/fips140/ecdh (current package)
ecdh.go#L217: func NewPublicKey[P Point[P]](c *Curve[P], key []byte) (*PublicKey, error) {
crypto/ecdh
nist.go#L173: return ecdh.NewPublicKey(ecdh.P256(), publicKey)
nist.go#L196: return ecdh.NewPublicKey(ecdh.P384(), publicKey)
nist.go#L219: return ecdh.NewPublicKey(ecdh.P521(), publicKey)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)