0bdc2811c2
Enable the PSA RNG driver by default. This option will only be enabled when BUILD_WITH_TFM is enabled and a device with the required compatible field (zephyr,psa-crypto-rng) is defined in the device tree. When a vendor includes such a device and enables the ENTROPY_GENERATOR subsystem it is fair to assume that wants to use the PSA Crypto RNG driver. Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
14 lines
381 B
Plaintext
14 lines
381 B
Plaintext
# Copyright (c) 2022 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# PSA Crypto Random source configuration options
|
|
|
|
config ENTROPY_PSA_CRYPTO_RNG
|
|
bool "PSA Crypto Random source Entropy driver"
|
|
depends on BUILD_WITH_TFM
|
|
depends on DT_HAS_ZEPHYR_PSA_CRYPTO_RNG_ENABLED
|
|
select ENTROPY_HAS_DRIVER
|
|
default y
|
|
help
|
|
Enable the PSA Crypto source Entropy driver.
|