Skip to content

Commit

Permalink
[nrf noup] entropy: Add reqs for PSA RNG
Browse files Browse the repository at this point in the history
The PSA RNG support for nrf54l,nrf54h and nrf92
devices require NCS specific features, like the
nrf_security subsys and secdom.

Add the requirements for this in the configuration
for the PSA RNG.

noup since both nrf_security and secdom are not
available upstream.

Signed-off-by: Georgios Vasilakis <[email protected]>
  • Loading branch information
Vge0rge committed Sep 25, 2024
1 parent 3501062 commit 150d2d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/entropy/Kconfig.psa_crypto
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ config ENTROPY_PSA_CRYPTO_RNG
depends on DT_HAS_ZEPHYR_PSA_CRYPTO_RNG_ENABLED
select ENTROPY_HAS_DRIVER
select PSA_WANT_GENERATE_RANDOM
select NRF_SECURITY if (SOC_SERIES_NRF54LX || SOC_SERIES_NRF54HX)
select SSF_PSA_CRYPTO_SERVICE_ENABLED if (SOC_SERIES_NRF54HX || SOC_SERIES_NRF92X)
depends on ZCBOR || !(SOC_SERIES_NRF54HX || SOC_SERIES_NRF92X)
depends on !DCACHE || !(SOC_SERIES_NRF54HX || SOC_SERIES_NRF92X)
default y
help
Enable the PSA Crypto source Entropy driver.

0 comments on commit 150d2d7

Please sign in to comment.