type crypto/tls.CurveID
41 uses
crypto/tls (current package)
common.go#L148: type CurveID uint16
common.go#L151: CurveP256 CurveID = 23
common.go#L152: CurveP384 CurveID = 24
common.go#L153: CurveP521 CurveID = 25
common.go#L154: X25519 CurveID = 29
common.go#L155: X25519MLKEM768 CurveID = 4588
common.go#L156: SecP256r1MLKEM768 CurveID = 4587
common.go#L157: SecP384r1MLKEM1024 CurveID = 4589
common.go#L158: MLKEM1024 CurveID = 514
common.go#L161: func isTLS13OnlyKeyExchange(curve CurveID) bool {
common.go#L170: func isPQKeyExchange(curve CurveID) bool {
common.go#L181: group CurveID
common.go#L270: CurveID CurveID
common.go#L460: SupportedCurves []CurveID
common.go#L821: CurvePreferences []CurveID
common.go#L1281: func (c *Config) curvePreferences(version uint16) []CurveID {
common.go#L1282: return slices.DeleteFunc(curvePreferenceOrder(), func(x CurveID) bool {
common.go#L1287: func (c *Config) supportsCurve(version uint16, x CurveID) bool {
common.go#L1480: var curve CurveID
common_string.go#L100: func (i CurveID) String() string {
conn.go#L52: curveID CurveID
defaults.go#L23: func defaultCurveEnabled(c CurveID) bool {
defaults.go#L38: func curvePreferenceOrder() []CurveID {
defaults.go#L39: return []CurveID{
defaults_fips140.go#L35: allowedCurvePreferencesFIPS = []CurveID{
handshake_messages.go#L81: supportedCurves []CurveID
handshake_messages.go#L525: m.supportedCurves = append(m.supportedCurves, CurveID(curve))
handshake_messages.go#L745: selectedGroup CurveID
handshake_server.go#L367: func supportsECDHE(c *Config, version uint16, supportedCurves []CurveID, supportedPoints []uint8) (bool, error) {
handshake_server_tls13.go#L210: preferredGroups = slices.DeleteFunc(preferredGroups, func(group CurveID) bool {
handshake_server_tls13.go#L217: hasKeyShare := func(group CurveID) bool {
handshake_server_tls13.go#L525: func (hs *serverHandshakeStateTLS13) doHelloRetryRequest(selectedGroup CurveID) (*keyShare, error) {
key_agreement.go#L153: curveID CurveID
key_agreement.go#L278: ka.curveID = CurveID(skx.key[1])<<8 | CurveID(skx.key[2])
key_agreement.go#L385: func generateECDHEKey(rand io.Reader, curveID CurveID) (*ecdh.PrivateKey, error) {
key_agreement.go#L394: func curveForCurveID(id CurveID) (ecdh.Curve, bool) {
key_schedule.go#L76: func keyExchangeForCurveID(id CurveID) (keyExchange, error) {
key_schedule.go#L145: id CurveID
key_schedule.go#L186: id CurveID
ticket.go#L102: curveID CurveID