Skip to content

Commit 17af4f1

Browse files
committed
update files after running importer
1 parent ca3a806 commit 17af4f1

File tree

12 files changed

+10883
-10
lines changed

12 files changed

+10883
-10
lines changed

features/mbedtls/inc/mbedtls/config.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
* Only use features that do not require an entropy source when
3535
* DEVICE_ENTROPY_SOURCE is not defined in mbed OS.
3636
*/
37-
#if !defined(MBEDTLS_ENTROPY_HARDWARE_ALT) && !defined(MBEDTLS_TEST_NULL_ENTROPY)
37+
#if !defined(MBEDTLS_ENTROPY_HARDWARE_ALT) && !defined(MBEDTLS_TEST_NULL_ENTROPY) && \
38+
!defined(MBEDTLS_ENTROPY_NV_SEED)
3839
#include "mbedtls/config-no-entropy.h"
3940

4041
#if defined(MBEDTLS_USER_CONFIG_FILE)
@@ -2981,8 +2982,8 @@
29812982
//#define MBEDTLS_PLATFORM_PRINTF_MACRO printf /**< Default printf macro to use, can be undefined */
29822983
/* Note: your snprintf must correclty zero-terminate the buffer! */
29832984
//#define MBEDTLS_PLATFORM_SNPRINTF_MACRO snprintf /**< Default snprintf macro to use, can be undefined */
2984-
//#define MBEDTLS_PLATFORM_NV_SEED_READ_MACRO mbedtls_platform_std_nv_seed_read /**< Default nv_seed_read function to use, can be undefined */
2985-
//#define MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO mbedtls_platform_std_nv_seed_write /**< Default nv_seed_write function to use, can be undefined */
2985+
#define MBEDTLS_PLATFORM_NV_SEED_READ_MACRO mbed_default_seed_read /**< Default nv_seed_read function to use, can be undefined */
2986+
#define MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO mbed_default_seed_write /**< Default nv_seed_write function to use, can be undefined */
29862987

29872988
/* SSL Cache options */
29882989
//#define MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT 86400 /**< 1 day */
@@ -3167,7 +3168,7 @@
31673168

31683169
#include "check_config.h"
31693170

3170-
#endif /* !MBEDTLS_ENTROPY_HARDWARE_ALT && !MBEDTLS_TEST_NULL_ENTROPY */
3171+
#endif /* !MBEDTLS_ENTROPY_HARDWARE_ALT && !MBEDTLS_TEST_NULL_ENTROPY && !MBEDTLS_ENTROPY_NV_SEED */
31713172

31723173
#if defined(MBEDTLS_TEST_NULL_ENTROPY)
31733174
#warning "MBEDTLS_TEST_NULL_ENTROPY has been enabled. This " \

0 commit comments

Comments
 (0)