zephyr/modules/mbedtls
Valerio Setti ac6d834272 mbedtls: auto-select MBEDTLS_CIPHER_AES_ENABLED when built-in in PSA
Auto-select MBEDTLS_CIPHER_AES_ENABLED when AES support is requested
through PSA (i.e. CONFIG_PSA_WANT_KEY_TYPE_AES) and the PSA support is
provided through Mbed TLS itself (i.e. CONFIG_MBEDTLS_PSA_CRYPTO_C).

This mimic what happens in Mbed TLS at build time: if AES support
is required through PSA, but there's no one else providing it
(i.e. no TF-M in Zephyr) then provide this support through legacy
AES module.

This is useful in samples/tests so that the user can simply use the
PSA_WANT symbol to ask for AES support in PSA crypto and then tune
the AES features (ex: CONFIG_MBEDTLS_AES_ROM_TABLES) without the need
to also define CONFIG_MBEDTLS_CIPHER_AES_ENABLED.

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: auto-select MBEDTLS_CIPHER_AES_ENABLED when built-in in PSA 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