blob: c10f7d345bdafdb9546dc98ad08793961bb7f3c2 [file] [log] [blame]
Sughosh Ganu90592ed2019-12-28 23:58:27 +05301config DM_RNG
2 bool "Driver support for Random Number Generator devices"
3 depends on DM
4 help
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.
Sughosh Ganucd9a2f92019-12-28 23:58:29 +05308
Heinrich Schuchardtcb028662020-02-02 19:45:35 +01009if DM_RNG
10
Heinrich Schuchardt009d4a72020-02-02 19:52:04 +010011config RNG_MESON
12 bool "Amlogic Meson Random Number Generator support"
13 depends on ARCH_MESON
14 default y
15 help
16 Enable support for hardware random number generator
17 of Amlogic Meson SoCs.
18
Sughosh Ganu23e37512019-12-28 23:58:31 +053019config RNG_SANDBOX
20 bool "Sandbox random number generator"
Heinrich Schuchardtcb028662020-02-02 19:45:35 +010021 depends on SANDBOX
22 default y
Sughosh Ganu23e37512019-12-28 23:58:31 +053023 help
24 Enable random number generator for sandbox. This is an
25 emulation of a rng device.
26
Robert Markofa5d33f2020-10-08 22:05:13 +020027config RNG_MSM
28 bool "Qualcomm SoCs Random Number Generator support"
29 depends on DM_RNG
30 help
31 This driver provides support for the Random Number
32 Generator hardware found on Qualcomm SoCs.
33
Patrick Delaunay922c7d32022-03-29 14:21:23 +020034config RNG_OPTEE
35 bool "OP-TEE based Random Number Generator support"
36 depends on DM_RNG && OPTEE
37 help
38 This driver provides support for the OP-TEE based Random Number
39 Generator on ARM SoCs where hardware entropy sources are not
40 accessible to normal world but reserved and used by the OP-TEE
41 to avoid the weakness of a software PRNG.
42
Sughosh Ganucd9a2f92019-12-28 23:58:29 +053043config RNG_STM32MP1
44 bool "Enable random number generator for STM32MP1"
Heinrich Schuchardtcb028662020-02-02 19:45:35 +010045 depends on ARCH_STM32MP
Sughosh Ganucd9a2f92019-12-28 23:58:29 +053046 help
47 Enable STM32MP1 rng driver.
Heinrich Schuchardtcb028662020-02-02 19:45:35 +010048
Lin Jinhan20b78502020-03-31 17:39:59 +080049config RNG_ROCKCHIP
50 bool "Enable random number generator for rockchip crypto rng"
51 depends on ARCH_ROCKCHIP && DM_RNG
Lin Jinhan20b78502020-03-31 17:39:59 +080052 help
53 Enable random number generator for rockchip.This driver is
54 support rng module of crypto v1 and crypto v2.
55
Matthias Brugger18988ec2020-12-15 10:49:23 +010056config RNG_IPROC200
57 bool "Broadcom iProc RNG200 random number generator"
58 depends on DM_RNG
Matthias Brugger18988ec2020-12-15 10:49:23 +010059 help
60 Enable random number generator for RPI4.
Heinrich Schuchardtcb028662020-02-02 19:45:35 +010061endif