func crypto/ecdh.X25519
18 uses
crypto/ecdh (current package)
x25519.go#L27: func X25519() Curve { return x25519 }
crypto/hpke
kem.go#L55: return DHKEM(ecdh.X25519()), nil
kem.go#L137: var dhKEMX25519 = &dhKEM{HKDFSHA256(), 0x0020, ecdh.X25519(), 32, 32, 32}
kem.go#L155: case ecdh.X25519():
pq.go#L24: curve: ecdh.X25519(),
pq.go#L144: case ecdh.X25519():
pq.go#L285: case ecdh.X25519():
crypto/tls
key_agreement.go#L393: return ecdh.X25519(), true
key_schedule.go#L91: return &ecdhKeyExchange{id, ecdh.X25519()}, nil
key_schedule.go#L99: return &hybridKeyExchange{id, ecdhKeyExchange{X25519, ecdh.X25519()},
crypto/x509
parser.go#L312: return ecdh.X25519().NewPublicKey(data)
pkcs8.go#L90: return ecdh.X25519().NewPrivateKey(curvePrivateKey)
pkcs8.go#L151: if k.Curve() == ecdh.X25519() {
x509.go#L120: if pub.Curve() == ecdh.X25519() {
x509.go#L568: case ecdh.X25519():
github.com/refraction-networking/utls
key_schedule.go#L76: return ecdh.X25519(), true
key_schedule.go#L90: case ecdh.X25519():
github.com/refraction-networking/utls/internal/hpke
hpke.go#L67: DHKEM_X25519_HKDF_SHA256: {ecdh.X25519(), crypto.SHA256, 32},
 |
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. |