From 9a089c9ca419c20e06c55ac8eaa5f6e43fd8bf8a Mon Sep 17 00:00:00 2001 From: Georgios Vasilakis Date: Thu, 5 Sep 2024 12:56:42 +0200 Subject: [PATCH] nrf_security: Enabled by default for nRF54H20 Enable nrf_security by default for the nRF54H20 devices when PSA RNG is used. nrf_security is required for for any PSA crypto service in nRF54H20. Signed-off-by: Georgios Vasilakis --- subsys/nrf_security/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subsys/nrf_security/Kconfig b/subsys/nrf_security/Kconfig index 88751f1ec970..4db2eb63aeb6 100644 --- a/subsys/nrf_security/Kconfig +++ b/subsys/nrf_security/Kconfig @@ -35,8 +35,8 @@ config NRF_SECURITY prompt "Enable nRF Security" if !PSA_PROMPTLESS depends on SOC_FAMILY_NORDIC_NRF default y if BUILD_WITH_TFM - # entropy is provided by PSA and NRF_SECURITY on NRF54LX - default y if ENTROPY_PSA_CRYPTO_RNG && SOC_SERIES_NRF54LX + # entropy is provided by PSA and NRF_SECURITY on NRF54LX and NRF54HX + default y if ENTROPY_PSA_CRYPTO_RNG && (SOC_SERIES_NRF54LX || SOC_SERIES_NRF54HX) select DISABLE_MBEDTLS_BUILTIN if MBEDTLS # Generating random requires a CRACEN PSA Crypto driver on nrf54L select PSA_CRYPTO_DRIVER_CRACEN if (PSA_WANT_GENERATE_RANDOM && SOC_SERIES_NRF54LX) && !NRF_SECURITY_LEGACY_AND_PSA