Skip to content

Commit f928e7a

Browse files
author
Andres Amaya Garcia
committed
mbedtls: Disable MD5, SHA1, SHA256 HW ACC for STM32F439xI
STM32F439xI-family MD5, SHA1 and SHA256 hardware acceleration occasionally produces incorrect output (#5079). Don't enable MD5, SHA1 and SHA256 HW acceleration on STM32F439xI-family targets by default until issue #5079 is fixed.
1 parent 5e437fe commit f928e7a

File tree

1 file changed

+5
-3
lines changed
  • features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI

1 file changed

+5
-3
lines changed

features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/mbedtls_device.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@
2424
* (https://github.com/ARMmbed/mbed-os/issues/4928) */
2525
/* #define MBEDTLS_AES_ALT */
2626

27-
#define MBEDTLS_SHA256_ALT
27+
/* FIXME: Don't enable SHA1, SHA256 and MD5 hardware acceleration until issue
28+
* #5079 is fixed. (https://github.com/ARMmbed/mbed-os/issues/5079) */
29+
/* #define MBEDTLS_SHA256_ALT */
2830

29-
#define MBEDTLS_SHA1_ALT
31+
/* #define MBEDTLS_SHA1_ALT */
3032

31-
#define MBEDTLS_MD5_ALT
33+
/* #define MBEDTLS_MD5_ALT */
3234

3335
#endif /* MBEDTLS_DEVICE_H */

0 commit comments

Comments
 (0)