zephyr/modules/mbedtls
Valerio Setti f539b661d6 mbedtls: add specific Kconfig option for MBEDTLS_USE_PSA_CRYPTO
MBEDTLS_PSA_CRYPTO_C and MBEDTLS_USE_PSA_CRYPTO are 2 different
things and the former should not automatically enable the
latter. The reson is that the user might want the MbedTLS
PSA crypto toolbox to be built, but at the same time he/she
does not want TLS/DTLS (and other intermediate modules such
as PK, MD and Cipher) to use PSA APIs.

For this reason this commit introduces a new Kconfig option
named CONFIG_MBEDTLS_USE_PSA_CRYPTO to enable the corresponding
build symbol. By default USE_PSA_CRYPTO is disabled. It is
only explicilty enabled in tests/samples that were previously
setting CRYPTO_C (since in those cases USE_PSA was set).

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2024-05-09 10:27:30 +02:00
..
configs mbedtls: add specific Kconfig option for MBEDTLS_USE_PSA_CRYPTO 2024-05-09 10:27:30 +02:00
include mbedtls: add CONFIG_MBEDTLS_INIT 2023-07-06 11:45:08 +02:00
CMakeLists.txt mbedtls: compile FFDH support in PSA mode 2024-05-07 17:55:56 -04:00
debug.c modules: mbedtls: support stripping newline from debug log messages 2022-08-17 12:03:52 +02:00
Kconfig mbedtls: add Kconfig option for PSA_WANT_ALG_SHA_256 2024-05-08 22:14:19 -07:00
Kconfig.psa mbedtls: add Kconfig option for PSA_WANT_ALG_SHA_256 2024-05-08 22:14:19 -07:00
Kconfig.tls-generic mbedtls: add specific Kconfig option for MBEDTLS_USE_PSA_CRYPTO 2024-05-09 10:27:30 +02:00
shell.c modules: migrate includes to <zephyr/...> 2022-05-06 19:57:47 +02:00
zephyr_init.c mbedtls: add option to use CSPRNG as random source for PSA_CRYPTO_C 2024-05-09 10:27:30 +02:00