Skip to content

Commit 38ddeb6

Browse files
committed
Allow TLS configuration when no TRGN or NV seed
Remove the code which forces the no entropy configuration when MBEDTLS_ENTROPY_HARDWARE_ALT is not defined. This makes it possible for users to turn on null entropy from the configuration system.
1 parent cb9a4b1 commit 38ddeb6

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

features/mbedtls/inc/mbedtls/config.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@
2929

3030
#include "platform/inc/platform_mbed.h"
3131

32-
/*
33-
* Only use features that do not require an entropy source when
34-
* DEVICE_ENTROPY_SOURCE is not defined in mbed OS.
35-
*/
36-
#if !defined(MBEDTLS_ENTROPY_HARDWARE_ALT)
37-
#include "mbedtls/config-no-entropy.h"
38-
#else
39-
#define MBEDTLS_CONFIG_H
40-
4132
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
4233
#define _CRT_SECURE_NO_DEPRECATE 1
4334
#endif
@@ -2606,5 +2597,4 @@
26062597

26072598
#include "check_config.h"
26082599

2609-
#endif /* !MBEDTLS_ENTROPY_HARDWARE_ALT */
26102600
#endif /* MBEDTLS_CONFIG_H */

0 commit comments

Comments
 (0)