From bea62d6b8cf057dabb204374d859e09e45dc1789 Mon Sep 17 00:00:00 2001 From: Jaeden Amero Date: Fri, 18 Aug 2017 09:06:25 +0100 Subject: [PATCH] mbedtls: STM32F439xI: Don't enable AES acceleration by default STM32F439xI-family AES hardware acceleration occasionally produces incorrect output (https://github.com/ARMmbed/mbed-os/issues/4928). Don't enable AES HW acceleration on STM32F439xI-family targets by default until issue #4928 is fixed. --- .../TARGET_STM32F4/TARGET_STM32F439xI/mbedtls_device.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/mbedtls_device.h b/features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/mbedtls_device.h index dfbc82055ef..90213bea118 100644 --- a/features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/mbedtls_device.h +++ b/features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/mbedtls_device.h @@ -20,7 +20,9 @@ #ifndef MBEDTLS_DEVICE_H #define MBEDTLS_DEVICE_H -#define MBEDTLS_AES_ALT +/* FIXME: Don't enable AES hardware acceleration until issue #4928 is fixed. + * (https://github.com/ARMmbed/mbed-os/issues/4928) */ +/* #define MBEDTLS_AES_ALT */ #define MBEDTLS_SHA256_ALT