type crypto/ecdh.Curve
14 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#L107: func curveToECDH(c elliptic.Curve) ecdh.Curve {
crypto/tls
key_schedule.go#L131: func curveForCurveID(id CurveID) (ecdh.Curve, bool) {
key_schedule.go#L146: func curveIDForCurve(curve ecdh.Curve) (CurveID, bool) {
crypto/x509
x509.go#L556: func oidFromECDHCurve(curve ecdh.Curve) (asn1.ObjectIdentifier, bool) {
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |