2 bool "Driver support for Random Number Generator devices"
5 Enable driver model for random number generator(rng) devices.
6 This interface is used to initialise the rng device and to
7 read the random seed from the device.
10 bool "Driver support for Random Number Generator devices in SPL"
13 This option is an SPL-variant of the DM_RNG option.
14 See the help of DM_RNG for details.
19 bool "Amlogic Meson Random Number Generator support"
23 Enable support for hardware random number generator
24 of Amlogic Meson SoCs.
27 bool "Sandbox random number generator"
31 Enable random number generator for sandbox. This is an
32 emulation of a rng device.
35 bool "Qualcomm SoCs Random Number Generator support"
38 This driver provides support for the Random Number
39 Generator hardware found on Qualcomm SoCs.
42 bool "Nuvoton NPCM SoCs Random Number Generator support"
45 Enable random number generator on NPCM SoCs.
46 This unit can provide 750 to 1000 random bits per second
49 bool "OP-TEE based Random Number Generator support"
50 depends on DM_RNG && OPTEE
51 default y if OPTEE_SERVICE_DISCOVERY
53 This driver provides support for the OP-TEE based Random Number
54 Generator on ARM SoCs where hardware entropy sources are not
55 accessible to normal world but reserved and used by the OP-TEE
56 to avoid the weakness of a software PRNG.
59 bool "RISC-V Zkr random number generator"
60 depends on RISCV_SMODE
62 This driver provides a Random Number Generator based on the
63 Zkr RISC-V ISA extension which provides an interface to an
64 NIST SP 800-90B or BSI AIS-31 compliant physical entropy source.
67 bool "Enable random number generator for STM32"
68 depends on ARCH_STM32 || ARCH_STM32MP
70 Enable STM32 rng driver.
73 bool "Enable random number generator for rockchip crypto rng"
74 depends on ARCH_ROCKCHIP && DM_RNG
76 Enable random number generator for rockchip. This driver
77 supports the rng module of crypto v1, crypto v2, and the
78 trng module of the rk3588 series.
81 bool "Broadcom iProc RNG200 random number generator"
84 Enable random number generator for RPI4.
87 bool "Arm SMCCC TRNG interface"
88 depends on DM_RNG && ARM_PSCI_FW
89 default y if ARM_SMCCC_FEATURES
91 Enable random number generator for platforms that support Arm
95 bool "Generic ARMv8.5 RNDR register"
96 depends on DM_RNG && ARM64
98 Use the ARMv8.5 RNDR register to provide random numbers.
101 bool "Enable random number generator on TPM device"
105 The TPM device has an inbuilt random number generator
106 functionality. Enable random number generator on TPM
110 bool "StarFive JH7110 Random Number Generator support"
111 depends on DM_RNG && STARFIVE_JH7110
113 Enable True Random Number Generator in StarFive JH7110 SoCs.
115 config RNG_TURRIS_RWTM
116 bool "Turris Mox TRNG in Secure Processor"
117 depends on DM_RNG && ARMADA_3700
119 Use TRNG in Turris Mox Secure Processor Firmware. Can be used
120 on other Armada-3700 devices (like EspressoBin) if Secure
121 Firmware from CZ.NIC is used.
124 bool "Samsung Exynos True Random Number Generator support"
127 Enable support for True Random Number Generator (TRNG) available on
130 On some chips (like Exynos850) TRNG registers are protected with TZPC
131 (TrustZone Protection Control). For such chips the driver provides an
132 implementation based on SMC calls to EL3 monitor program. In that
133 case the LDFW (Loadable Firmware) has to be loaded first, as it
134 actually implements TRNG SMC calls.