1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Merge pull request #4450 from mstarzyk-mobica/remove_null_entropy

Remove MBEDTLS_TEST_NULL_ENTROPY config option.
This commit is contained in:
Manuel Pégourié-Gonnard
2021-05-20 09:19:55 +02:00
committed by GitHub
16 changed files with 21 additions and 149 deletions

View File

@ -0,0 +1,11 @@
Remove the option to build the library without any entropy sources
------------------------------------------------------------------
This does not affect users who use the default `config.h`, as this option was
already off by default.
If you were using the `MBEDTLS_TEST_NULL_ENTROPY` option and your platform
doesn't have any entropy source, you should use `MBEDTLS_ENTROPY_NV_SEED`
and make sure your device is provisioned with a strong random seed.
Alternatively, for testing purposes only, you can create and register a fake
entropy function.