mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-31 19:55:49 +00:00
Instead of every hardware number generator driver providing an implementation of this function, use the random device API to centralize the implementation of this function. This is a very simplistic function that can be seen as a stepping stone to refactor the random number generation in Zephyr. Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
26 lines
720 B
Plaintext
26 lines
720 B
Plaintext
# Kconfig.mcux - mcux entropy generator driver configuration
|
|
#
|
|
# Copyright (c) 2016 ARM Ltd.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig ENTROPY_MCUX_RNGA
|
|
bool "MCUX RNGA driver"
|
|
depends on ENTROPY_GENERATOR && HAS_MCUX_RNGA
|
|
default n
|
|
select ENTROPY_HAS_DRIVER
|
|
select ENTROPY_DEVICE_RANDOM_GENERATOR
|
|
help
|
|
This option enables the random number generator accelerator (RNGA)
|
|
driver based on the MCUX RNGA driver.
|
|
|
|
menuconfig ENTROPY_MCUX_TRNG
|
|
bool "MCUX TRNG driver"
|
|
depends on ENTROPY_GENERATOR && HAS_MCUX_TRNG
|
|
default n
|
|
select ENTROPY_HAS_DRIVER
|
|
select ENTROPY_DEVICE_RANDOM_GENERATOR
|
|
help
|
|
This option enables the true random number generator (TRNG)
|
|
driver based on the MCUX TRNG driver.
|