crypto/ecdh.PrivateKey.Curve (method)

9 uses

	crypto/ecdh (current package)
		ecdh.go#L157: func (k *PrivateKey) Curve() Curve {

	crypto/tls
		handshake_client_tls13.go#L235: 		if sentID, _ := curveIDForCurve(hs.ecdheKey.Curve()); sentID == curveID {
		handshake_client_tls13.go#L336: 	if sentID, _ := curveIDForCurve(hs.ecdheKey.Curve()); hs.serverHello.serverShare.group != sentID {
		handshake_client_tls13.go#L375: 	peerKey, err := hs.ecdheKey.Curve().NewPublicKey(hs.serverHello.serverShare.data)
		handshake_server_tls13.go#L224: 	peerKey, err := key.Curve().NewPublicKey(clientKeyShare.data)
		key_agreement.go#L263: 	peerKey, err := ka.key.Curve().NewPublicKey(ckx.ciphertext[1:])
		key_agreement.go#L306: 	peerKey, err := key.Curve().NewPublicKey(publicKey)

	crypto/x509
		pkcs8.go#L142: 		if k.Curve() == ecdh.X25519() {
		pkcs8.go#L151: 			oid, ok := oidFromECDHCurve(k.Curve())