Ciro Edgardo Romero
/
ISE_CEIoT
Proyecto integrador para asignatura de Especialización
Diff: mbedtls_entropy_config.h
- Branch:
- mbed-os-5.10
- Revision:
- 30:4825e4f38844
- Parent:
- 17:97b1dd566b07
- Child:
- 31:66704f6f17c5
diff -r 5ad8f931e4ff -r 4825e4f38844 mbedtls_entropy_config.h --- a/mbedtls_entropy_config.h Tue Mar 27 11:57:33 2018 +0200 +++ b/mbedtls_entropy_config.h Mon Oct 29 14:34:43 2018 +0800 @@ -19,10 +19,10 @@ #include "select-demo.h" -/* Enable entropy for K64F, K22F, ODIN-W2. This means entropy is disabled for all other targets. */ +/* Enable entropy for devices with TRNG. This means entropy is disabled for all other targets. */ /* Do **NOT** deploy this code in production on other targets! */ /* See https://tls.mbed.org/kb/how-to/add-entropy-sources-to-entropy-pool */ -#if defined(TARGET_K64F) || defined(TARGET_K22F) || defined(TARGET_UBLOX_EVK_ODIN_W2) +#if defined(DEVICE_TRNG) #undef MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES #undef MBEDTLS_TEST_NULL_ENTROPY #endif