Provide more in-depth migration guide after removal of null entropy.

Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
This commit is contained in:
Mateusz Starzyk 2021-05-19 16:35:51 +02:00
parent ef80a9c5e0
commit 2396b21f80

View file

@ -4,6 +4,8 @@ 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 This does not affect users who use the default `config.h`, as this option was
already off by default. already off by default.
If you were using the `MBEDTLS_TEST_NULL_ENTROPY` option, you can either use If you were using the `MBEDTLS_TEST_NULL_ENTROPY` option and your platform
`MBEDTLS_ENTROPY_NV_SEED` or create a fake entropy function. 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.