diffie-hellman: Classify x25519 and x448 as ECDH methods

This commit is contained in:
Tobias Brunner
2021-02-12 14:35:23 +01:00
parent e3757300eb
commit 85bde019d3
@@ -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;