Skip to content

Commit aa3666d

Browse files
Patateradbridge
authored andcommitted
mbedtls: STM32F439xI: Don't enable AES acceleration by default
STM32F439xI-family AES hardware acceleration occasionally produces incorrect output (#4928). Don't enable AES HW acceleration on STM32F439xI-family targets by default until issue #4928 is fixed.
1 parent c856416 commit aa3666d

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
#ifndef MBEDTLS_DEVICE_H
2121
#define MBEDTLS_DEVICE_H
2222

23-
#define MBEDTLS_AES_ALT
23+
/* FIXME: Don't enable AES hardware acceleration until issue #4928 is fixed.
24+
* (https://github.com/ARMmbed/mbed-os/issues/4928) */
25+
/* #define MBEDTLS_AES_ALT */
2426

2527
#define MBEDTLS_SHA256_ALT
2628

0 commit comments

Comments
 (0)