aboutsummaryrefslogtreecommitdiff
path: root/ssh/common.go
diff options
context:
space:
mode:
authorNicola Murino <nicola.murino@gmail.com>2025-08-24 10:53:36 +0200
committerGopher Robot <gobot@golang.org>2025-08-26 00:42:33 -0700
commit8f580defa01dec23898d3cd27f6369cdcc62f71f (patch)
tree9206ee7b2359fbc0d2351bd3219d1e0b53e0596c /ssh/common.go
parenta4d1237429d6056ef197b0b911b8b9d7dca8ecf6 (diff)
downloadgo-x-crypto-8f580defa01dec23898d3cd27f6369cdcc62f71f.tar.xz
ssh: remove Go 1.24 build tag for ML-KEM kex
Change-Id: Ia77ad1b6fef9919ab100fb10c42231725eb81c12 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/698775 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Nicola Murino <nicola.murino@gmail.com> Reviewed-by: Filippo Valsorda <filippo@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Roland Shoemaker <roland@golang.org>
Diffstat (limited to 'ssh/common.go')
-rw-r--r--ssh/common.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh/common.go b/ssh/common.go
index f2ec089..8bfad16 100644
--- a/ssh/common.go
+++ b/ssh/common.go
@@ -83,6 +83,7 @@ var (
// supportedKexAlgos specifies key-exchange algorithms implemented by this
// package in preference order, excluding those with security issues.
supportedKexAlgos = []string{
+ KeyExchangeMLKEM768X25519,
KeyExchangeCurve25519,
KeyExchangeECDHP256,
KeyExchangeECDHP384,
@@ -94,6 +95,7 @@ var (
// defaultKexAlgos specifies the default preference for key-exchange
// algorithms in preference order.
defaultKexAlgos = []string{
+ KeyExchangeMLKEM768X25519,
KeyExchangeCurve25519,
KeyExchangeECDHP256,
KeyExchangeECDHP384,