Sughosh Ganu | a248768 | 2019-12-28 23:58:27 +0530 | [diff] [blame] | 1 | config 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 Ganu | 231ec90 | 2019-12-28 23:58:29 +0530 | [diff] [blame] | 8 | |
Heinrich Schuchardt | c312c4b | 2020-02-02 19:45:35 +0100 | [diff] [blame] | 9 | if DM_RNG |
| 10 | |
Heinrich Schuchardt | bc40eb2 | 2020-02-02 19:52:04 +0100 | [diff] [blame] | 11 | config 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 Ganu | ff0dada | 2019-12-28 23:58:31 +0530 | [diff] [blame] | 19 | config RNG_SANDBOX |
| 20 | bool "Sandbox random number generator" |
Heinrich Schuchardt | c312c4b | 2020-02-02 19:45:35 +0100 | [diff] [blame] | 21 | depends on SANDBOX |
| 22 | default y |
Sughosh Ganu | ff0dada | 2019-12-28 23:58:31 +0530 | [diff] [blame] | 23 | help |
| 24 | Enable random number generator for sandbox. This is an |
| 25 | emulation of a rng device. |
| 26 | |
Robert Marko | 033ec63 | 2020-10-08 22:05:13 +0200 | [diff] [blame] | 27 | config 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 | |
Jim Liu | 866eab1 | 2022-05-24 16:56:57 +0800 | [diff] [blame] | 34 | config RNG_NPCM |
| 35 | bool "Nuvoton NPCM SoCs Random Number Generator support" |
| 36 | depends on DM_RNG |
| 37 | help |
| 38 | Enable random number generator on NPCM SoCs. |
| 39 | This unit can provide 750 to 1000 random bits per second |
| 40 | |
Patrick Delaunay | fd52e7f | 2022-03-29 14:21:23 +0200 | [diff] [blame] | 41 | config RNG_OPTEE |
| 42 | bool "OP-TEE based Random Number Generator support" |
| 43 | depends on DM_RNG && OPTEE |
| 44 | help |
| 45 | This driver provides support for the OP-TEE based Random Number |
| 46 | Generator on ARM SoCs where hardware entropy sources are not |
| 47 | accessible to normal world but reserved and used by the OP-TEE |
| 48 | to avoid the weakness of a software PRNG. |
| 49 | |
Sughosh Ganu | 231ec90 | 2019-12-28 23:58:29 +0530 | [diff] [blame] | 50 | config RNG_STM32MP1 |
| 51 | bool "Enable random number generator for STM32MP1" |
Heinrich Schuchardt | c312c4b | 2020-02-02 19:45:35 +0100 | [diff] [blame] | 52 | depends on ARCH_STM32MP |
Sughosh Ganu | 231ec90 | 2019-12-28 23:58:29 +0530 | [diff] [blame] | 53 | help |
| 54 | Enable STM32MP1 rng driver. |
Heinrich Schuchardt | c312c4b | 2020-02-02 19:45:35 +0100 | [diff] [blame] | 55 | |
Lin Jinhan | 6e7353e | 2020-03-31 17:39:59 +0800 | [diff] [blame] | 56 | config RNG_ROCKCHIP |
| 57 | bool "Enable random number generator for rockchip crypto rng" |
| 58 | depends on ARCH_ROCKCHIP && DM_RNG |
Lin Jinhan | 6e7353e | 2020-03-31 17:39:59 +0800 | [diff] [blame] | 59 | help |
| 60 | Enable random number generator for rockchip.This driver is |
| 61 | support rng module of crypto v1 and crypto v2. |
| 62 | |
Matthias Brugger | 537f001 | 2020-12-15 10:49:23 +0100 | [diff] [blame] | 63 | config RNG_IPROC200 |
| 64 | bool "Broadcom iProc RNG200 random number generator" |
| 65 | depends on DM_RNG |
Matthias Brugger | 537f001 | 2020-12-15 10:49:23 +0100 | [diff] [blame] | 66 | help |
| 67 | Enable random number generator for RPI4. |
Etienne Carriere | 53355bb | 2022-06-01 10:27:34 +0200 | [diff] [blame^] | 68 | |
| 69 | config RNG_SMCCC_TRNG |
| 70 | bool "Arm SMCCC TRNG interface" |
| 71 | depends on DM_RNG && ARM_PSCI_FW |
| 72 | default y if ARM_SMCCC_FEATURES |
| 73 | help |
| 74 | Enable random number generator for platforms that support Arm |
| 75 | SMCCC TRNG interface. |
| 76 | |
Heinrich Schuchardt | c312c4b | 2020-02-02 19:45:35 +0100 | [diff] [blame] | 77 | endif |