crypto/ecdh.PrivateKey.ECDH (method)
5 uses
crypto/ecdh (current package)
ecdh.go#L126: func (k *PrivateKey) ECDH(remote *PublicKey) ([]byte, error) {
crypto/tls
handshake_client_tls13.go#L380: sharedKey, err := hs.ecdheKey.ECDH(peerKey)
handshake_server_tls13.go#L229: hs.sharedKey, err = key.ECDH(peerKey)
key_agreement.go#L267: preMasterSecret, err := ka.key.ECDH(peerKey)
key_agreement.go#L310: ka.preMasterSecret, err = key.ECDH(peerKey)
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. |