Skip to content

Commit

Permalink
Provide more in-depth migration guide after removal of null entropy.
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
  • Loading branch information
mstarzyk-mobica committed May 19, 2021
1 parent ef80a9c commit 2396b21
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/3.0-migration-guide.d/remove-null-entropy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
already off by default.

If you were using the `MBEDTLS_TEST_NULL_ENTROPY` option, you can either use
`MBEDTLS_ENTROPY_NV_SEED` or create a fake entropy function.

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.

0 comments on commit 2396b21

Please sign in to comment.