type crypto/ecdh.Curve
16 uses
crypto/ecdh (current package)
ecdh.go#L18: type Curve interface {
ecdh.go#L69: curve Curve
ecdh.go#L98: func (k *PublicKey) Curve() Curve {
ecdh.go#L108: curve Curve
ecdh.go#L157: func (k *PrivateKey) Curve() Curve {
nist.go#L96: func newBoringPrivateKey(c Curve, bk *boring.PrivateKeyECDH, privateKey []byte) (*PrivateKey, error) {
nist.go#L219: func P256() Curve { return p256 }
nist.go#L238: func P384() Curve { return p384 }
nist.go#L259: func P521() Curve { return p521 }
x25519.go#L25: func X25519() Curve { return x25519 }
crypto/ecdsa
ecdsa.go#L111: func curveToECDH(c elliptic.Curve) ecdh.Curve {
crypto/internal/hpke
hpke.go#L55: dh ecdh.Curve
hpke.go#L63: curve ecdh.Curve
crypto/tls
key_schedule.go#L172: func curveForCurveID(id CurveID) (ecdh.Curve, bool) {
key_schedule.go#L187: func curveIDForCurve(curve ecdh.Curve) (CurveID, bool) {
crypto/x509
x509.go#L565: func oidFromECDHCurve(curve ecdh.Curve) (asn1.ObjectIdentifier, bool) {
![]() |
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. |