type github.com/refraction-networking/utls.CurveID

139 uses

	github.com/refraction-networking/utls (current package)
		common.go#L147: type CurveID uint16
		common.go#L150: 	CurveP256      CurveID = 23
		common.go#L151: 	CurveP384      CurveID = 24
		common.go#L152: 	CurveP521      CurveID = 25
		common.go#L153: 	X25519         CurveID = 29
		common.go#L154: 	X25519MLKEM768 CurveID = 4588
		common.go#L157: func isTLS13OnlyKeyExchange(curve CurveID) bool {
		common.go#L161: func isPQKeyExchange(curve CurveID) bool {
		common.go#L167: 	group CurveID
		common.go#L318: 	testingOnlyCurveID CurveID
		common.go#L440: 	SupportedCurves []CurveID
		common.go#L828: 	CurvePreferences []CurveID
		common.go#L1257: func (c *Config) curvePreferences(version uint16) []CurveID {
		common.go#L1258: 	var curvePreferences []CurveID
		common.go#L1267: 		curvePreferences = slices.DeleteFunc(curvePreferences, func(x CurveID) bool {
		common.go#L1277: func (c *Config) supportsCurve(version uint16, curve CurveID) bool {
		common.go#L1454: 			var curve CurveID
		common_string.go#L87: func (i CurveID) String() string {
		conn.go#L52: 	curveID          CurveID
		defaults.go#L19: func defaultCurvePreferences() []CurveID {
		defaults.go#L26: 	return []CurveID{X25519MLKEM768, X25519, CurveP256, CurveP384, CurveP521}
		defaults.go#L113: var defaultCurvePreferencesFIPS = []CurveID{CurveP256, CurveP384}
		handshake_client.go#L755: 			c.curveID = CurveID(byteorder.BEUint16(skx.key[1:]))
		handshake_messages.go#L80: 	supportedCurves                  []CurveID
		handshake_messages.go#L554: 				m.supportedCurves = append(m.supportedCurves, CurveID(curve))
		handshake_messages.go#L774: 	selectedGroup CurveID
		handshake_server.go#L350: func supportsECDHE(c *Config, version uint16, supportedCurves []CurveID, supportedPoints []uint8) bool {
		handshake_server.go#L627: 			c.curveID = CurveID(byteorder.BEUint16(skx.key[1:]))
		handshake_server_tls13.go#L209: 	preferredGroups = slices.DeleteFunc(preferredGroups, func(group CurveID) bool {
		handshake_server_tls13.go#L216: 	hasKeyShare := func(group CurveID) bool {
		handshake_server_tls13.go#L546: 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#L54: 	curveID    CurveID
		key_schedule.go#L64: func generateECDHEKey(rand io.Reader, curveID CurveID) (*ecdh.PrivateKey, error) {
		key_schedule.go#L73: func curveForCurveID(id CurveID) (ecdh.Curve, bool) {
		key_schedule.go#L88: func curveIDForCurve(curve ecdh.Curve) (CurveID, bool) {
		u_alias.go#L25: func (*KeySharesParameters) AddEcdheKeypair(curveID CurveID, ecdheKey *ecdh.PrivateKey, ecdhePubKey *ecdh.PublicKey) {
		u_alias.go#L29: func (*KeySharesParameters) GetEcdheKey(curveID CurveID) (ecdheKey *ecdh.PrivateKey, ok bool) { return }
		u_alias.go#L31: func (*KeySharesParameters) GetEcdhePubkey(curveID CurveID) (params *ecdh.PublicKey, ok bool) { return }
		u_alias.go#L33: func (*KeySharesParameters) AddKemKeypair(curveID CurveID, kemKey any, kemPubKey any) {
		u_alias.go#L37: func (ksp *KeySharesParameters) GetKemKey(curveID CurveID) (kemKey any, ok bool) { return }
		u_alias.go#L39: func (ksp *KeySharesParameters) GetKemPubkey(curveID CurveID) (params any, ok bool) { return }
		u_common.go#L79: 	CurveSECP256R1 CurveID = 0x0017
		u_common.go#L80: 	CurveSECP384R1 CurveID = 0x0018
		u_common.go#L81: 	CurveSECP521R1 CurveID = 0x0019
		u_common.go#L82: 	CurveX25519    CurveID = 0x001d
		u_common.go#L84: 	FakeCurveFFDHE2048 CurveID = 0x0100
		u_common.go#L85: 	FakeCurveFFDHE3072 CurveID = 0x0101
		u_common.go#L86: 	FakeCurveFFDHE4096 CurveID = 0x0102
		u_common.go#L87: 	FakeCurveFFDHE6144 CurveID = 0x0103
		u_common.go#L88: 	FakeCurveFFDHE8192 CurveID = 0x0104
		u_common.go#L92: 	X25519Kyber768Draft00 CurveID = 0x6399
		u_common.go#L94: 	FakeCurveX25519Kyber512Draft00    CurveID = 0xfe30
		u_common.go#L95: 	FakeCurveX25519Kyber768Draft00Old CurveID = 0xfe31
		u_common.go#L96: 	FakeCurveP256Kyber768Draft00      CurveID = 0xfe32
		u_common.go#L98: 	X25519Kyber512Draft00    CurveID = FakeCurveX25519Kyber512Draft00
		u_common.go#L99: 	X25519Kyber768Draft00Old CurveID = FakeCurveX25519Kyber768Draft00Old
		u_common.go#L100: 	P256Kyber768Draft00      CurveID = FakeCurveP256Kyber768Draft00
		u_parrots.go#L78: 				&SupportedCurvesExtension{[]CurveID{CurveID(GREASE_PLACEHOLDER),
		u_parrots.go#L136: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L146: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L147: 					CurveID(GREASE_PLACEHOLDER),
		u_parrots.go#L186: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L187: 					CurveID(GREASE_PLACEHOLDER),
		u_parrots.go#L211: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L259: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L260: 					CurveID(GREASE_PLACEHOLDER),
		u_parrots.go#L283: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L331: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L332: 					CurveID(GREASE_PLACEHOLDER),
		u_parrots.go#L355: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L403: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L404: 					CurveID(GREASE_PLACEHOLDER),
		u_parrots.go#L427: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L476: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L500: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L547: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L571: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L619: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L644: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L693: 				&SupportedCurvesExtension{Curves: []CurveID{
		u_parrots.go#L717: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L766: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L791: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L839: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L864: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L912: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L937: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L983: 				&SupportedCurvesExtension{[]CurveID{X25519, CurveP256, CurveP384, CurveP521}},
		u_parrots.go#L1036: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L1041: 					CurveID(FakeFFDHE2048),
		u_parrots.go#L1042: 					CurveID(FakeFFDHE3072),
		u_parrots.go#L1107: 				&SupportedCurvesExtension{[]CurveID{ //supported_groups
		u_parrots.go#L1112: 					CurveID(FakeFFDHE2048),
		u_parrots.go#L1113: 					CurveID(FakeFFDHE3072),
		u_parrots.go#L1188: 				&SupportedCurvesExtension{[]CurveID{ //supported_groups
		u_parrots.go#L1193: 					CurveID(FakeFFDHE2048),
		u_parrots.go#L1194: 					CurveID(FakeFFDHE3072),
		u_parrots.go#L1270: 					Curves: []CurveID{
		u_parrots.go#L1377: 					Curves: []CurveID{
		u_parrots.go#L1510: 				&SupportedCurvesExtension{Curves: []CurveID{
		u_parrots.go#L1572: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L1648: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L1698: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L1699: 					CurveID(GREASE_PLACEHOLDER),
		u_parrots.go#L1725: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L1766: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L1819: 					Curves: []CurveID{
		u_parrots.go#L1923: 					Curves: []CurveID{
		u_parrots.go#L2035: 					Curves: []CurveID{
		u_parrots.go#L2142: 					Curves: []CurveID{
		u_parrots.go#L2215: 					Curves: []CurveID{
		u_parrots.go#L2323: 					Curves: []CurveID{
		u_parrots.go#L2427: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L2451: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L2498: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L2522: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L2569: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L2593: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L2642: 				&SupportedCurvesExtension{[]CurveID{
		u_parrots.go#L2667: 					{Group: CurveID(GREASE_PLACEHOLDER), Data: []byte{0}},
		u_parrots.go#L2872: 					ext.Curves[i] = CurveID(GetBoringGREASEValue(uconn.greaseSeed, ssl_grease_group))
		u_parrots.go#L2880: 					ext.KeyShares[i].Group = CurveID(GetBoringGREASEValue(uconn.greaseSeed, ssl_grease_group))
		u_parrots.go#L3056: 	curveIDs := []CurveID{}
		u_public.go#L291: 	SelectedGroup           CurveID // HelloRetryRequest extension
		u_public.go#L367: 	SupportedCurves              []CurveID
		u_public.go#L630: 	Group CurveID `json:"group"`
		u_public.go#L864: 	curveID   CurveID
		u_public.go#L871: 	CurveID   CurveID
		u_public.go#L897: 	CurveID    CurveID
		u_tls_extensions.go#L264: 	Curves []CurveID
		u_tls_extensions.go#L304: 			e.Curves = append(e.Curves, CurveID(group))
		u_tls_extensions.go#L320: 	curves := []CurveID{}
		u_tls_extensions.go#L326: 		curves = append(curves, CurveID(unGREASEUint16(curve)))
		u_tls_extensions.go#L1285: 		ks.Group = CurveID(unGREASEUint16(group))
		u_tls_extensions.go#L1324: 				Group: CurveID(groupID),