crypto/ecdh.PrivateKey.ECDH (method)
6 uses
crypto/ecdh (current package)
ecdh.go#L126: func (k *PrivateKey) ECDH(remote *PublicKey) ([]byte, error) {
crypto/internal/hpke
hpke.go#L99: dhVal, err := privEph.ECDH(pubRecipient)
crypto/tls
handshake_client_tls13.go#L497: sharedKey, err := hs.keyShareKeys.ecdhe.ECDH(peerKey)
handshake_server_tls13.go#L247: 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.7.6. (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. |