Skip to content

Commit fe1e7aa

Browse files
committed
Better use of MBEDTLS_AES_ALT
removed from targets.json, added in mbedtls_device.h remove function alternate defines (not used as we replace the full module)
1 parent fa8f6e4 commit fe1e7aa

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@
2020
#ifndef MBEDTLS_DEVICE_H
2121
#define MBEDTLS_DEVICE_H
2222

23-
24-
#define MBEDTLS_AES_SETKEY_ENC_ALT
25-
#define MBEDTLS_AES_SETKEY_DEC_ALT
26-
#define MBEDTLS_AES_ENCRYPT_ALT
27-
#define MBEDTLS_AES_DECRYPT_ALT
23+
#define MBEDTLS_AES_ALT
2824

2925

3026
#endif /* MBEDTLS_DEVICE_H */

targets/targets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@
903903
"extra_labels": ["STM", "STM32F4", "STM32F439", "STM32F439ZI", "STM32F439xx", "STM32F439xI", "FLASH_CMSIS_ALGO"],
904904
"supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"],
905905
"progen": {"target": "nucleo-f439zi"},
906-
"macros": ["TRANSACTION_QUEUE_SIZE_SPI=2", "MBEDTLS_CONFIG_HW_SUPPORT", "MBEDTLS_AES_ALT"],
906+
"macros": ["TRANSACTION_QUEUE_SIZE_SPI=2", "MBEDTLS_CONFIG_HW_SUPPORT"],
907907
"device_has": ["ANALOGIN", "ANALOGOUT", "CAN", "ERROR_RED", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES", "TRNG", "FLASH"],
908908
"detect_code": ["0797"],
909909
"features": ["LWIP"],

0 commit comments

Comments
 (0)