zephyr/drivers/entropy/Kconfig.mcux
Leandro Pereira 8b883a61a3 subsys/random: sys_rand32_get() implementation that uses entropy API
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>
2017-11-01 08:26:29 -04:00

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.