2019-12-28 18:28:27 +00:00
|
|
|
config DM_RNG
|
|
|
|
bool "Driver support for Random Number Generator devices"
|
|
|
|
depends on DM
|
|
|
|
help
|
|
|
|
Enable driver model for random number generator(rng) devices.
|
|
|
|
This interface is used to initialise the rng device and to
|
|
|
|
read the random seed from the device.
|
2019-12-28 18:28:29 +00:00
|
|
|
|
2020-02-02 18:45:35 +00:00
|
|
|
if DM_RNG
|
|
|
|
|
2020-02-02 18:52:04 +00:00
|
|
|
config RNG_MESON
|
|
|
|
bool "Amlogic Meson Random Number Generator support"
|
|
|
|
depends on ARCH_MESON
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable support for hardware random number generator
|
|
|
|
of Amlogic Meson SoCs.
|
|
|
|
|
2019-12-28 18:28:31 +00:00
|
|
|
config RNG_SANDBOX
|
|
|
|
bool "Sandbox random number generator"
|
2020-02-02 18:45:35 +00:00
|
|
|
depends on SANDBOX
|
|
|
|
default y
|
2019-12-28 18:28:31 +00:00
|
|
|
help
|
|
|
|
Enable random number generator for sandbox. This is an
|
|
|
|
emulation of a rng device.
|
|
|
|
|
2020-10-08 20:05:13 +00:00
|
|
|
config RNG_MSM
|
|
|
|
bool "Qualcomm SoCs Random Number Generator support"
|
|
|
|
depends on DM_RNG
|
|
|
|
help
|
|
|
|
This driver provides support for the Random Number
|
|
|
|
Generator hardware found on Qualcomm SoCs.
|
|
|
|
|
2022-05-24 08:56:57 +00:00
|
|
|
config RNG_NPCM
|
|
|
|
bool "Nuvoton NPCM SoCs Random Number Generator support"
|
|
|
|
depends on DM_RNG
|
|
|
|
help
|
|
|
|
Enable random number generator on NPCM SoCs.
|
|
|
|
This unit can provide 750 to 1000 random bits per second
|
|
|
|
|
2022-03-29 12:21:23 +00:00
|
|
|
config RNG_OPTEE
|
|
|
|
bool "OP-TEE based Random Number Generator support"
|
|
|
|
depends on DM_RNG && OPTEE
|
|
|
|
help
|
|
|
|
This driver provides support for the OP-TEE based Random Number
|
|
|
|
Generator on ARM SoCs where hardware entropy sources are not
|
|
|
|
accessible to normal world but reserved and used by the OP-TEE
|
|
|
|
to avoid the weakness of a software PRNG.
|
|
|
|
|
2019-12-28 18:28:29 +00:00
|
|
|
config RNG_STM32MP1
|
|
|
|
bool "Enable random number generator for STM32MP1"
|
2020-02-02 18:45:35 +00:00
|
|
|
depends on ARCH_STM32MP
|
2019-12-28 18:28:29 +00:00
|
|
|
help
|
|
|
|
Enable STM32MP1 rng driver.
|
2020-02-02 18:45:35 +00:00
|
|
|
|
2020-03-31 09:39:59 +00:00
|
|
|
config RNG_ROCKCHIP
|
|
|
|
bool "Enable random number generator for rockchip crypto rng"
|
|
|
|
depends on ARCH_ROCKCHIP && DM_RNG
|
|
|
|
help
|
|
|
|
Enable random number generator for rockchip.This driver is
|
|
|
|
support rng module of crypto v1 and crypto v2.
|
|
|
|
|
2020-12-15 09:49:23 +00:00
|
|
|
config RNG_IPROC200
|
|
|
|
bool "Broadcom iProc RNG200 random number generator"
|
|
|
|
depends on DM_RNG
|
|
|
|
help
|
|
|
|
Enable random number generator for RPI4.
|
2022-06-01 08:27:34 +00:00
|
|
|
|
|
|
|
config RNG_SMCCC_TRNG
|
|
|
|
bool "Arm SMCCC TRNG interface"
|
|
|
|
depends on DM_RNG && ARM_PSCI_FW
|
|
|
|
default y if ARM_SMCCC_FEATURES
|
|
|
|
help
|
|
|
|
Enable random number generator for platforms that support Arm
|
|
|
|
SMCCC TRNG interface.
|
|
|
|
|
2022-07-22 16:02:04 +00:00
|
|
|
config TPM_RNG
|
|
|
|
bool "Enable random number generator on TPM device"
|
|
|
|
depends on TPM
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
The TPM device has an inbuilt random number generator
|
|
|
|
functionality. Enable random number generator on TPM
|
|
|
|
devices.
|
|
|
|
|
2020-02-02 18:45:35 +00:00
|
|
|
endif
|