Commit d9d82b54 authored by Almir Okato's avatar Almir Okato Committed by David Brown
Browse files

espressif: fix RSA sign build after MbedTLS version update



Add missing files from external MbedTLS.

Signed-off-by: default avatarAlmir Okato <almir.okato@espressif.com>
Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent fa4ca87a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@
 *
 * Comment if your system does not support time functions
 */
#define MBEDTLS_HAVE_TIME
// #define MBEDTLS_HAVE_TIME

/**
 * \def MBEDTLS_HAVE_TIME_DATE
@@ -154,7 +154,7 @@
 * mbedtls_platform_gmtime_r() at compile-time by using the macro
 * MBEDTLS_PLATFORM_GMTIME_R_ALT.
 */
#define MBEDTLS_HAVE_TIME_DATE
// #define MBEDTLS_HAVE_TIME_DATE

/**
 * \def MBEDTLS_PLATFORM_MEMORY
+2 −0
Original line number Diff line number Diff line
@@ -14,6 +14,8 @@ if (DEFINED CONFIG_ESP_USE_MBEDTLS)
        ${MBEDTLS_DIR}/library/sha256.c
        ${MBEDTLS_DIR}/library/rsa.c
        ${MBEDTLS_DIR}/library/bignum.c
        ${MBEDTLS_DIR}/library/bignum_core.c
        ${MBEDTLS_DIR}/library/constant_time.c
        ${MBEDTLS_DIR}/library/asn1parse.c
        ${MBEDTLS_DIR}/library/md.c
        ${MBEDTLS_DIR}/library/memory_buffer_alloc.c