Skip to content

Commit

Permalink
nrf_security: Dont enable NRF_SECURITY for PSA RNG
Browse files Browse the repository at this point in the history
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 <georgios.vasilakis@nordicsemi.no>
  • Loading branch information
Vge0rge committed Sep 27, 2024
1 parent 94a8dab commit 6ed58b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subsys/nrf_security/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ed58b2

Please sign in to comment.