diff --git a/boot/zephyr/include/config-kw.h b/boot/zephyr/include/config-kw.h index 8ff31aee..5eeab501 100644 --- a/boot/zephyr/include/config-kw.h +++ b/boot/zephyr/include/config-kw.h @@ -38,10 +38,13 @@ #define MBEDTLS_PLATFORM_C #define MBEDTLS_PLATFORM_MEMORY #define MBEDTLS_MEMORY_BUFFER_ALLOC_C -#define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS -#define MBEDTLS_PLATFORM_EXIT_ALT #define MBEDTLS_NO_PLATFORM_ENTROPY #define MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES + +/* STD functions */ +#define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS + +#define MBEDTLS_PLATFORM_EXIT_ALT #define MBEDTLS_PLATFORM_PRINTF_ALT #define MBEDTLS_ASN1_PARSE_C diff --git a/boot/zephyr/include/config-rsa-kw.h b/boot/zephyr/include/config-rsa-kw.h index 3568cc01..af49b686 100644 --- a/boot/zephyr/include/config-rsa-kw.h +++ b/boot/zephyr/include/config-rsa-kw.h @@ -38,10 +38,13 @@ #define MBEDTLS_PLATFORM_C #define MBEDTLS_PLATFORM_MEMORY #define MBEDTLS_MEMORY_BUFFER_ALLOC_C -#define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS -#define MBEDTLS_PLATFORM_EXIT_ALT #define MBEDTLS_NO_PLATFORM_ENTROPY #define MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES + +/* STD functions */ +#define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS + +#define MBEDTLS_PLATFORM_EXIT_ALT #define MBEDTLS_PLATFORM_PRINTF_ALT #if !defined(CONFIG_ARM) diff --git a/boot/zephyr/include/config-rsa.h b/boot/zephyr/include/config-rsa.h index d27acf9b..f6bba7e4 100644 --- a/boot/zephyr/include/config-rsa.h +++ b/boot/zephyr/include/config-rsa.h @@ -38,10 +38,13 @@ #define MBEDTLS_PLATFORM_C #define MBEDTLS_PLATFORM_MEMORY #define MBEDTLS_MEMORY_BUFFER_ALLOC_C -#define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS -#define MBEDTLS_PLATFORM_EXIT_ALT #define MBEDTLS_NO_PLATFORM_ENTROPY #define MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES + +/* STD functions */ +#define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS + +#define MBEDTLS_PLATFORM_EXIT_ALT #define MBEDTLS_PLATFORM_PRINTF_ALT #if !defined(CONFIG_ARM)