From c1564149a612efca80123bd6a458a9fbc5886559 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 17 Nov 2017 21:03:04 +0200 Subject: [PATCH] BoringSSL: Add AES support with 192-bit keys BoringSSL restored the previously removed AES-192 ECB support in ("Add AES-192 ECB.") commit. Since this is needed for DPP with the P-384 curve, restore support for this through EVP_aes_192_ecb(). Signed-off-by: Jouni Malinen --- src/crypto/crypto_openssl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/crypto/crypto_openssl.c b/src/crypto/crypto_openssl.c index 91201ca34..193b5f084 100644 --- a/src/crypto/crypto_openssl.c +++ b/src/crypto/crypto_openssl.c @@ -270,10 +270,8 @@ static const EVP_CIPHER * aes_get_evp_cipher(size_t keylen) switch (keylen) { case 16: return EVP_aes_128_ecb(); -#ifndef OPENSSL_IS_BORINGSSL case 24: return EVP_aes_192_ecb(); -#endif /* OPENSSL_IS_BORINGSSL */ case 32: return EVP_aes_256_ecb(); }