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
commit 729fa5be88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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.