From: Jouni Malinen Date: Fri, 17 Nov 2017 19:03:04 +0000 (+0200) Subject: BoringSSL: Add AES support with 192-bit keys X-Git-Tag: hostap_2_7~835 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1564149a612efca80123bd6a458a9fbc5886559;p=thirdparty%2Fhostap.git 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 --- 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(); }