type crypto/tls.CurveID
37 uses
crypto/tls (current package)
common.go#L144: type CurveID uint16
common.go#L147: CurveP256 CurveID = 23
common.go#L148: CurveP384 CurveID = 24
common.go#L149: CurveP521 CurveID = 25
common.go#L150: X25519 CurveID = 29
common.go#L155: x25519Kyber768Draft00 CurveID = 0x6399 // X25519Kyber768Draft00
common.go#L160: group CurveID
common.go#L305: testingOnlyCurveID CurveID
common.go#L424: SupportedCurves []CurveID
common.go#L767: CurvePreferences []CurveID
common.go#L1135: func (c *Config) curvePreferences(version uint16) []CurveID {
common.go#L1136: var curvePreferences []CurveID
common.go#L1140: return slices.DeleteFunc(curvePreferences, func(c CurveID) bool {
common.go#L1150: return slices.DeleteFunc(curvePreferences, func(c CurveID) bool {
common.go#L1157: func (c *Config) supportsCurve(version uint16, curve CurveID) bool {
common.go#L1334: var curve CurveID
common_string.go#L87: func (i CurveID) String() string {
conn.go#L53: curveID CurveID
defaults.go#L18: func defaultCurvePreferences() []CurveID {
defaults.go#L20: return []CurveID{X25519, CurveP256, CurveP384, CurveP521}
defaults.go#L23: return []CurveID{x25519Kyber768Draft00, X25519, CurveP256, CurveP384, CurveP521}
defaults.go#L99: var defaultCurvePreferencesFIPS = []CurveID{CurveP256, CurveP384, CurveP521}
handshake_client.go#L711: c.curveID = CurveID(byteorder.BeUint16(skx.key[1:]))
handshake_messages.go#L80: supportedCurves []CurveID
handshake_messages.go#L520: m.supportedCurves = append(m.supportedCurves, CurveID(curve))
handshake_messages.go#L736: selectedGroup CurveID
handshake_server.go#L322: func supportsECDHE(c *Config, version uint16, supportedCurves []CurveID, supportedPoints []uint8) bool {
handshake_server.go#L596: c.curveID = CurveID(byteorder.BeUint16(skx.key[1:]))
handshake_server_tls13.go#L184: var selectedGroup CurveID
handshake_server_tls13.go#L510: 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#L123: curveID CurveID
key_schedule.go#L163: func generateECDHEKey(rand io.Reader, curveID CurveID) (*ecdh.PrivateKey, error) {
key_schedule.go#L172: func curveForCurveID(id CurveID) (ecdh.Curve, bool) {
key_schedule.go#L187: func curveIDForCurve(curve ecdh.Curve) (CurveID, bool) {
 |
The pages are generated with Golds v0.7.6. (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. |