diffie-hellman: Classify x25519 and x448 as ECDH methods

This commit is contained in:
Tobias Brunner 2021-02-11 17:00:05 +01:00
parent e3757300eb
commit 85bde019d3
1 changed files with 2 additions and 0 deletions

View File

@ -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;