summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/kex-names.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2024-08-22 23:11:31 +0000
committerDamien Miller <djm@cvs.openbsd.org>2024-08-22 23:11:31 +0000
commitba68be9241fa5d3b4e9edb848e402fa2e341222b (patch)
tree1db581df3c089ecdb808b23a8240dd04c0029a6f /usr.bin/ssh/kex-names.c
parent5560f5318cb7213f5f9a49c930b57846ada9754b (diff)
sntrup761x25519-sha512 now has an IANA codepoint assigned,
so we can make the algorithm available without the @openssh.com suffix too. ok markus@ deraadt@
Diffstat (limited to 'usr.bin/ssh/kex-names.c')
-rw-r--r--usr.bin/ssh/kex-names.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/kex-names.c b/usr.bin/ssh/kex-names.c
index 7eebc7a5636..82ff37344b8 100644
--- a/usr.bin/ssh/kex-names.c
+++ b/usr.bin/ssh/kex-names.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kex-names.c,v 1.1 2024/05/17 00:32:32 djm Exp $ */
+/* $OpenBSD: kex-names.c,v 1.2 2024/08/22 23:11:30 djm Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
*
@@ -70,6 +70,8 @@ static const struct kexalg kexalgs[] = {
{ KEX_CURVE25519_SHA256_OLD, KEX_C25519_SHA256, 0, SSH_DIGEST_SHA256 },
{ KEX_SNTRUP761X25519_SHA512, KEX_KEM_SNTRUP761X25519_SHA512, 0,
SSH_DIGEST_SHA512 },
+ { KEX_SNTRUP761X25519_SHA512_OLD, KEX_KEM_SNTRUP761X25519_SHA512, 0,
+ SSH_DIGEST_SHA512 },
{ NULL, 0, -1, -1},
};