From 85bde019d31cc55f49a63de7325078f74503b620 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 11 Feb 2021 17:00:05 +0100 Subject: [PATCH] diffie-hellman: Classify x25519 and x448 as ECDH methods --- src/libstrongswan/crypto/diffie_hellman.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libstrongswan/crypto/diffie_hellman.c b/src/libstrongswan/crypto/diffie_hellman.c index 173882bce..c6c3bc65f 100644 --- a/src/libstrongswan/crypto/diffie_hellman.c +++ b/src/libstrongswan/crypto/diffie_hellman.c @@ -532,6 +532,8 @@ bool diffie_hellman_group_is_ec(diffie_hellman_group_t group) case ECP_256_BP: case ECP_384_BP: case ECP_512_BP: + case CURVE_25519: + case CURVE_448: return TRUE; default: return FALSE;