diff --git a/features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F437xG/mbedtls_device.h b/features/mbedtls/targets/TARGET_STM/TARGET_STM32F437xG/mbedtls_device.h similarity index 86% rename from features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F437xG/mbedtls_device.h rename to features/mbedtls/targets/TARGET_STM/TARGET_STM32F437xG/mbedtls_device.h index 4fafb6f580..b32ca58ea8 100644 --- a/features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F437xG/mbedtls_device.h +++ b/features/mbedtls/targets/TARGET_STM/TARGET_STM32F437xG/mbedtls_device.h @@ -21,9 +21,11 @@ #define MBEDTLS_DEVICE_H #define MBEDTLS_AES_ALT - -#define MBEDTLS_SHA1_ALT - #define MBEDTLS_MD5_ALT +#define MBEDTLS_SHA1_ALT +#define MBEDTLS_SHA256_ALT +// #define MBEDTLS_CCM_ALT // not fully supported yet +// #define MBEDTLS_GCM_ALT // not fully supported yet + #endif /* MBEDTLS_DEVICE_H */ diff --git a/features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/mbedtls_device.h b/features/mbedtls/targets/TARGET_STM/TARGET_STM32F439xI/mbedtls_device.h similarity index 79% rename from features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/mbedtls_device.h rename to features/mbedtls/targets/TARGET_STM/TARGET_STM32F439xI/mbedtls_device.h index f38740cb8f..66a005e46d 100644 --- a/features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/mbedtls_device.h +++ b/features/mbedtls/targets/TARGET_STM/TARGET_STM32F439xI/mbedtls_device.h @@ -20,4 +20,11 @@ #ifndef MBEDTLS_DEVICE_H #define MBEDTLS_DEVICE_H +#define MBEDTLS_AES_ALT +#define MBEDTLS_MD5_ALT +#define MBEDTLS_SHA1_ALT +#define MBEDTLS_SHA256_ALT +// #define MBEDTLS_CCM_ALT // not fully supported yet +// #define MBEDTLS_GCM_ALT // not fully supported yet + #endif /* MBEDTLS_DEVICE_H */