From 114059ea999e50814ff28d16ef3d0adb3968f30a Mon Sep 17 00:00:00 2001 From: Georgios Vasilakis Date: Fri, 27 Sep 2024 13:14:53 +0200 Subject: [PATCH] nrf_security: Dont enable NRF_SECURITY for PSA RNG Since the NRF_PSA_SSF_CRYPTO_CLIENT is now independent from NRF_SECURITY we don't need to enable NRF_SECURITY when we just want to enable PSA RNG. 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 2ac53360375..13bfd5d7f4a 100644 --- a/subsys/nrf_security/Kconfig +++ b/subsys/nrf_security/Kconfig @@ -41,8 +41,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 and NRF54HX - default y if ENTROPY_PSA_CRYPTO_RNG && (SOC_SERIES_NRF54LX || SOC_SERIES_NRF54HX) + # entropy is provided by PSA and NRF_SECURITY on NRF54LX + default y if ENTROPY_PSA_CRYPTO_RNG && SOC_SERIES_NRF54LX 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