crypto/ecdh.Curve.GenerateKey (method)
9 uses
crypto/ecdh (current package)
ecdh.go#L24: GenerateKey(rand io.Reader) (*PrivateKey, error)
crypto/hpke
kem.go#L236: privEph, err := pk.pub.Curve().GenerateKey(rand.Reader)
kem.go#L289: priv, err := kem.curve.GenerateKey(rand.Reader)
pq.go#L195: skE, err = pk.t.Curve().GenerateKey(rand.Reader)
crypto/tls
key_agreement.go#L387: return curve.GenerateKey(rand)
key_schedule.go#L121: priv, err := ke.curve.GenerateKey(rand)
key_schedule.go#L129: key, err := ke.curve.GenerateKey(rand)
github.com/refraction-networking/utls
key_schedule.go#L70: return curve.GenerateKey(rand)
github.com/refraction-networking/utls/internal/hpke
hpke.go#L93: privEph, err = dh.dh.GenerateKey(rand.Reader)
![]() |
The pages are generated with Golds v0.8.4. (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. |