From 2dec3b2c88ebb145e7ecdde73977a35cc4126c39 Mon Sep 17 00:00:00 2001 From: jsing Date: Sat, 30 Jul 2022 16:31:41 +0000 Subject: [PATCH] Add EVP_aes_192_gcm() as a known AEAD. --- regress/lib/libcrypto/aead/aeadtest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/regress/lib/libcrypto/aead/aeadtest.c b/regress/lib/libcrypto/aead/aeadtest.c index 189cece6a40..1301a194875 100644 --- a/regress/lib/libcrypto/aead/aeadtest.c +++ b/regress/lib/libcrypto/aead/aeadtest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aeadtest.c,v 1.20 2022/07/30 16:30:42 jsing Exp $ */ +/* $OpenBSD: aeadtest.c,v 1.21 2022/07/30 16:31:41 jsing Exp $ */ /* * Copyright (c) 2014, Google Inc. * @@ -93,6 +93,8 @@ aead_from_name(const EVP_AEAD **aead, const EVP_CIPHER **cipher, if (strcmp(name, "aes-128-gcm") == 0) { *aead = EVP_aead_aes_128_gcm(); *cipher = EVP_aes_128_gcm(); + } else if (strcmp(name, "aes-192-gcm") == 0) { + *cipher = EVP_aes_192_gcm(); } else if (strcmp(name, "aes-256-gcm") == 0) { *aead = EVP_aead_aes_256_gcm(); *cipher = EVP_aes_256_gcm(); -- 2.20.1