crypto/ecdh.PublicKey.Curve (method)
7 uses
crypto/ecdh (current package)
ecdh.go#L91: func (k *PublicKey) Curve() Curve {
crypto/hpke
kem.go#L205: kem, ok := DHKEM(pub.Curve()).(*dhKEM)
kem.go#L236: privEph, err := pk.pub.Curve().GenerateKey(rand.Reader)
pq.go#L143: switch t.Curve() {
pq.go#L195: skE, err = pk.t.Curve().GenerateKey(rand.Reader)
crypto/x509
x509.go#L120: if pub.Curve() == ecdh.X25519() {
x509.go#L123: oid, ok := oidFromECDHCurve(pub.Curve())
![]() |
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. |