Skip to content

Commit 181d7bc

Browse files
Merge pull request #5080 from andresag01/fix-hw-acc-sha1-md5-sha256
mbedtls: Disable MD5, SHA1, SHA256 HW ACC for STM32F439xI
2 parents 43aa6a2 + f928e7a commit 181d7bc

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
@@ -22,10 +22,12 @@
2222

2323
#define MBEDTLS_AES_ALT
2424

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

27-
#define MBEDTLS_SHA1_ALT
29+
/* #define MBEDTLS_SHA1_ALT */
2830

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

3133
#endif /* MBEDTLS_DEVICE_H */

0 commit comments

Comments
 (0)