mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 09:30:10 +00:00
fd52e7f9c7
Add driver for OP-TEE based Random Number Generator on ARM SoCs where hardware entropy sources are not accessible to normal world and the RNG service is provided by a HWRNG Trusted Application (TA). This driver is based on the linux driver: char/hw_random/optee-rng.c Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
61 lines
1.7 KiB
Text
61 lines
1.7 KiB
Text
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.
|
|
|
|
if DM_RNG
|
|
|
|
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.
|
|
|
|
config RNG_SANDBOX
|
|
bool "Sandbox random number generator"
|
|
depends on SANDBOX
|
|
default y
|
|
help
|
|
Enable random number generator for sandbox. This is an
|
|
emulation of a rng device.
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
config RNG_STM32MP1
|
|
bool "Enable random number generator for STM32MP1"
|
|
depends on ARCH_STM32MP
|
|
help
|
|
Enable STM32MP1 rng driver.
|
|
|
|
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.
|
|
|
|
config RNG_IPROC200
|
|
bool "Broadcom iProc RNG200 random number generator"
|
|
depends on DM_RNG
|
|
help
|
|
Enable random number generator for RPI4.
|
|
endif
|