type crypto/tls.CurveID
39 uses
crypto/tls (current package)
common.go#L145: type CurveID uint16
common.go#L148: CurveP256 CurveID = 23
common.go#L149: CurveP384 CurveID = 24
common.go#L150: CurveP521 CurveID = 25
common.go#L151: X25519 CurveID = 29
common.go#L152: X25519MLKEM768 CurveID = 4588
common.go#L155: func isTLS13OnlyKeyExchange(curve CurveID) bool {
common.go#L159: func isPQKeyExchange(curve CurveID) bool {
common.go#L165: group CurveID
common.go#L310: testingOnlyCurveID CurveID
common.go#L432: SupportedCurves []CurveID
common.go#L780: CurvePreferences []CurveID
common.go#L1185: func (c *Config) curvePreferences(version uint16) []CurveID {
common.go#L1186: var curvePreferences []CurveID
common.go#L1193: curvePreferences = slices.DeleteFunc(curvePreferences, func(x CurveID) bool {
common.go#L1203: func (c *Config) supportsCurve(version uint16, curve CurveID) bool {
common.go#L1380: var curve CurveID
common_string.go#L87: func (i CurveID) String() string {
conn.go#L53: curveID CurveID
defaults.go#L20: func defaultCurvePreferences() []CurveID {
defaults.go#L22: return []CurveID{X25519, CurveP256, CurveP384, CurveP521}
defaults.go#L24: return []CurveID{X25519MLKEM768, X25519, CurveP256, CurveP384, CurveP521}
defaults.go#L106: var defaultCurvePreferencesFIPS = []CurveID{CurveP256, CurveP384, CurveP521}
handshake_client.go#L724: c.curveID = CurveID(byteorder.BEUint16(skx.key[1:]))
handshake_messages.go#L80: supportedCurves []CurveID
handshake_messages.go#L523: m.supportedCurves = append(m.supportedCurves, CurveID(curve))
handshake_messages.go#L743: selectedGroup CurveID
handshake_server.go#L346: func supportsECDHE(c *Config, version uint16, supportedCurves []CurveID, supportedPoints []uint8) bool {
handshake_server.go#L620: c.curveID = CurveID(byteorder.BEUint16(skx.key[1:]))
handshake_server_tls13.go#L208: preferredGroups = slices.DeleteFunc(preferredGroups, func(group CurveID) bool {
handshake_server_tls13.go#L215: hasKeyShare := func(group CurveID) bool {
handshake_server_tls13.go#L545: func (hs *serverHandshakeStateTLS13) doHelloRetryRequest(selectedGroup CurveID) (*keyShare, error) {
key_agreement.go#L170: var curveID CurveID
key_agreement.go#L282: curveID := CurveID(skx.key[1])<<8 | CurveID(skx.key[2])
key_schedule.go#L53: curveID CurveID
key_schedule.go#L62: func generateECDHEKey(rand io.Reader, curveID CurveID) (*ecdh.PrivateKey, error) {
key_schedule.go#L71: func curveForCurveID(id CurveID) (ecdh.Curve, bool) {
key_schedule.go#L86: func curveIDForCurve(curve ecdh.Curve) (CurveID, bool) {