mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-07-22 09:54:14 +00:00
Commands: Display Post-Quantum key exchange in tls ping
(#4857)
https://github.com/XTLS/Xray-core/pull/4857#issuecomment-3064964301
This commit is contained in:
parent
abd551e9f7
commit
cbcab89c7e
2 changed files with 37 additions and 10 deletions
|
@ -486,11 +486,11 @@ func ConfigFromStreamSettings(settings *internet.MemoryStreamConfig) *Config {
|
|||
|
||||
func ParseCurveName(curveNames []string) []tls.CurveID {
|
||||
curveMap := map[string]tls.CurveID{
|
||||
"curvep256": tls.CurveP256,
|
||||
"curvep384": tls.CurveP384,
|
||||
"curvep521": tls.CurveP521,
|
||||
"x25519": tls.X25519,
|
||||
"x25519kyber768draft00": 0x6399,
|
||||
"curvep256": tls.CurveP256,
|
||||
"curvep384": tls.CurveP384,
|
||||
"curvep521": tls.CurveP521,
|
||||
"x25519": tls.X25519,
|
||||
"x25519mlkem768": tls.X25519MLKEM768,
|
||||
}
|
||||
|
||||
var curveIDs []tls.CurveID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue