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 dfbc82055e..03ddf8f8ac 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 @@ -22,10 +22,12 @@ #define MBEDTLS_AES_ALT -#define MBEDTLS_SHA256_ALT +/* FIXME: Don't enable SHA1, SHA256 and MD5 hardware acceleration until issue + * #5079 is fixed. (https://github.com/ARMmbed/mbed-os/issues/5079) */ +/* #define MBEDTLS_SHA256_ALT */ -#define MBEDTLS_SHA1_ALT +/* #define MBEDTLS_SHA1_ALT */ -#define MBEDTLS_MD5_ALT +/* #define MBEDTLS_MD5_ALT */ #endif /* MBEDTLS_DEVICE_H */