mirror of https://github.com/ARMmbed/mbed-os.git
aae04b2516
These targets below just support PRNG, not real TRNG. They cannot annouce TRNG. - NUMAKER_PFM_NUC472 - NUMAKER_PFM_M487 - NUMAKER_IOT_M487 On targets without TRNG, to run mbedtls applications which require entropy source, there are two alternatives to TRNG: - Custom entropy source: Define MBEDTLS_ENTROPY_HARDWARE_ALT and provide custom mbedtls_hardware_poll(...) - NV seed: 1. Define MBEDTLS_ENTROPY_NV_SEED 2. Define MBEDTLS_PLATFORM_NV_SEED_READ_MACRO/MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO and provide custom mbedtls_nv_seed_read(...)/mbedtls_nv_seed_write(...). 3. Don't define MBEDTLS_PSA_INJECT_ENTROPY. Meet mbedtls_psa_inject_entropy(...) undefined and then provide custom one, which must be compatible with mbedtls_nv_seed_read(...)/mbedtls_nv_seed_write(...) above. 4. For development, simulating partial provision process, inject entropy seed via mbedtls_psa_inject_entropy(...) pre-main. |
||
---|---|---|
.. | ||
TARGET_M251 | ||
TARGET_M261 | ||
TARGET_M451 | ||
TARGET_M480 | ||
TARGET_M2351 | ||
TARGET_NANO100 | ||
TARGET_NUC472 | ||
mbed_rtx.h | ||
nu_bitutil.h | ||
nu_miscutil.c | ||
nu_miscutil.h | ||
nu_modutil.c | ||
nu_modutil.h | ||
nu_timer.c | ||
nu_timer.h |