Skip to content

Commit

Permalink
nrf_security: Enabled by default for nRF54H20
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Vge0rge committed Sep 24, 2024
1 parent 8c2fbb7 commit 9a089c9
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 @@ -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
Expand Down

0 comments on commit 9a089c9

Please sign in to comment.