From: Tobias Brunner Date: Thu, 11 Feb 2021 16:00:05 +0000 (+0100) Subject: diffie-hellman: Classify x25519 and x448 as ECDH methods X-Git-Tag: 5.9.2rc1~23^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85bde019d31cc55f49a63de7325078f74503b620;p=thirdparty%2Fstrongswan.git diffie-hellman: Classify x25519 and x448 as ECDH methods --- diff --git a/src/libstrongswan/crypto/diffie_hellman.c b/src/libstrongswan/crypto/diffie_hellman.c index 173882bcee..c6c3bc65fd 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;