summaryrefslogtreecommitdiff
path: root/lib/accelerated/aarch64/aes-gcm-aarch64.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/accelerated/aarch64/aes-gcm-aarch64.c')
-rw-r--r--lib/accelerated/aarch64/aes-gcm-aarch64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/accelerated/aarch64/aes-gcm-aarch64.c b/lib/accelerated/aarch64/aes-gcm-aarch64.c
index c88fe9759f..01f22136a6 100644
--- a/lib/accelerated/aarch64/aes-gcm-aarch64.c
+++ b/lib/accelerated/aarch64/aes-gcm-aarch64.c
@@ -83,6 +83,7 @@ aes_gcm_cipher_init(gnutls_cipher_algorithm_t algorithm, void **_ctx,
{
/* we use key size to distinguish */
if (algorithm != GNUTLS_CIPHER_AES_128_GCM &&
+ algorithm != GNUTLS_CIPHER_AES_192_GCM &&
algorithm != GNUTLS_CIPHER_AES_256_GCM)
return GNUTLS_E_INVALID_REQUEST;