This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Define entropy source for MBEDTLS with TF-M and Zephyr

Hi !

Sorry about that simple question but I couldn't find any documentation about what I want to do.

This is a fairly simple issue. When building a program using TF-M on Zephyr (With configuration CONFIG_BUILD_WITH_TFM=y), mbedtls don't have any entropy source by default which triggers the following warning: **** WARNING!  MBEDTLS_TEST_NULL_ENTROPY defined!.

So here is my question: is there a Kconfig option or any other option to define an entropy source for mbedtls (this would be the cryptocell for the nRF9160)?

Kind regards,

Farès

Related