MCPcopy
hub / github.com/XTLS/REALITY / CurveID

TypeAlias CurveID

common.go:145–145  ·  view source on GitHub ↗

CurveID is the type of a TLS identifier for a key exchange mechanism. See https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-8. In TLS 1.2, this registry used to support only elliptic curves. In TLS 1.3, it was extended to other groups and renamed NamedGroup. See RFC

Source from the content-addressed store, hash-verified

143// 4.2.7. It was then also extended to other mechanisms, such as hybrid
144// post-quantum KEMs.
145type CurveID uint16
146
147const (
148 CurveP256 CurveID = 23

Callers 4

unmarshalMethod · 0.85
doFullHandshakeMethod · 0.85
doFullHandshakeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected