type crypto/tls.CurveID
42 uses
crypto/tls (current package)
common.go#L146: type CurveID uint16
common.go#L149: CurveP256 CurveID = 23
common.go#L150: CurveP384 CurveID = 24
common.go#L151: CurveP521 CurveID = 25
common.go#L152: X25519 CurveID = 29
common.go#L153: X25519MLKEM768 CurveID = 4588
common.go#L154: SecP256r1MLKEM768 CurveID = 4587
common.go#L155: SecP384r1MLKEM1024 CurveID = 4589
common.go#L158: func isTLS13OnlyKeyExchange(curve CurveID) bool {
common.go#L167: func isPQKeyExchange(curve CurveID) bool {
common.go#L178: group CurveID
common.go#L266: CurveID CurveID
common.go#L451: SupportedCurves []CurveID
common.go#L813: CurvePreferences []CurveID
common.go#L1270: func (c *Config) curvePreferences(version uint16) []CurveID {
common.go#L1273: curvePreferences = slices.DeleteFunc(curvePreferences, func(x CurveID) bool {
common.go#L1278: curvePreferences = slices.DeleteFunc(curvePreferences, func(x CurveID) bool {
common.go#L1288: func (c *Config) supportsCurve(version uint16, curve CurveID) bool {
common.go#L1462: var curve CurveID
common_string.go#L90: func (i CurveID) String() string {
conn.go#L53: curveID CurveID
defaults.go#L21: func defaultCurvePreferences() []CurveID {
defaults.go#L25: return []CurveID{X25519, CurveP256, CurveP384, CurveP521}
defaults.go#L28: return []CurveID{X25519MLKEM768, X25519, CurveP256, CurveP384, CurveP521}
defaults.go#L30: return []CurveID{
defaults_fips140.go#L33: allowedCurvePreferencesFIPS = []CurveID{
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#L365: 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#L522: 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#L381: func generateECDHEKey(rand io.Reader, curveID CurveID) (*ecdh.PrivateKey, error) {
key_agreement.go#L390: func curveForCurveID(id CurveID) (ecdh.Curve, bool) {
key_schedule.go#L76: func keyExchangeForCurveID(id CurveID) (keyExchange, error) {
key_schedule.go#L116: id CurveID
key_schedule.go#L157: id CurveID
ticket.go#L102: curveID CurveID
 |
The pages are generated with Golds v0.8.4. (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. |