zephyr/modules/mbedtls
Valerio Setti 516886be1b mbedtls: MBEDTLS_ENTROPY_POLL_ZEPHYR default on if MBEDTLS_ENTROPY_C
As long as MBEDTLS_ENTROPY_C is enabled, Mbed TLS needs to
poll some entropy source to gather data that will then be
processed by CTR/HMAC-DRBG modules. This means that in most
of the cases, once MBEDTLS_ENTROPY_C is enabled then also
MBEDTLS_ENTROPY_POLL_ZEPHYR needs to be enabled. This was
done manually until now, as the long list of samples/tests
demonstrate.

This commit solves this dependency by defaulting
MBEDTLS_ENTROPY_POLL_ZEPHYR to on as soon as
MBEDTLS_ENTROPY_C is set. As a consequence, all manual
enablement of MBEDTLS_ENTROPY_POLL_ZEPHYR in samples/tests
are removed.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2024-11-20 15:59:40 -05:00
..
configs modules: mbedtls: Enable back Mbed TLS PSA Crypto Storage C 2024-10-08 13:44:22 +02:00
include mbedtls: add CONFIG_MBEDTLS_INIT 2023-07-06 11:45:08 +02:00
CMakeLists.txt modules: mbedtls: compile PAKE with PSA 2024-10-08 05:59:16 -04:00
create_psa_files.py mbedtls: add new PSA_CRYPTO_CLIENT config 2024-05-23 11:53:02 -04:00
debug.c modules: mbedtls: support stripping newline from debug log messages 2022-08-17 12:03:52 +02:00
Kconfig mbedtls: add ability to use custom memory section for mbedtls heap 2024-09-13 09:18:11 +02:00
Kconfig.psa mbedtls: add new PSA_CRYPTO_CLIENT config 2024-05-23 11:53:02 -04:00
Kconfig.tls-generic mbedtls: MBEDTLS_ENTROPY_POLL_ZEPHYR default on if MBEDTLS_ENTROPY_C 2024-11-20 15:59:40 -05:00
shell.c modules: migrate includes to <zephyr/...> 2022-05-06 19:57:47 +02:00
zephyr_entropy.c mbedtls: move entropy polling functions to a dedicated file 2024-08-24 07:16:51 -04:00
zephyr_init.c mbedtls: add ability to use custom memory section for mbedtls heap 2024-09-13 09:18:11 +02:00