Michael Buesch | 844dd05 | 2006-06-26 00:24:59 -0700 | [diff] [blame] | 1 | # |
| 2 | # Hardware Random Number Generator (RNG) configuration |
| 3 | # |
| 4 | |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 5 | menuconfig HW_RANDOM |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 6 | tristate "Hardware Random Number Generator Core support" |
| 7 | default m |
Michael Buesch | 844dd05 | 2006-06-26 00:24:59 -0700 | [diff] [blame] | 8 | ---help--- |
| 9 | Hardware Random Number Generator Core infrastructure. |
| 10 | |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 11 | To compile this driver as a module, choose M here: the |
David Brownell | 537878d | 2008-03-24 12:29:51 -0700 | [diff] [blame] | 12 | module will be called rng-core. This provides a device |
Lee Jones | cb2c316 | 2015-09-17 14:45:52 +0100 | [diff] [blame] | 13 | that's usually called /dev/hwrng, and which exposes one |
David Brownell | 537878d | 2008-03-24 12:29:51 -0700 | [diff] [blame] | 14 | of possibly several hardware random number generators. |
| 15 | |
| 16 | These hardware random number generators do not feed directly |
| 17 | into the kernel's random number generator. That is usually |
| 18 | handled by the "rngd" daemon. Documentation/hw_random.txt |
| 19 | has more information. |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 20 | |
Michael Buesch | 844dd05 | 2006-06-26 00:24:59 -0700 | [diff] [blame] | 21 | If unsure, say Y. |
Michael Buesch | ca644bd | 2006-06-26 00:24:59 -0700 | [diff] [blame] | 22 | |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 23 | if HW_RANDOM |
| 24 | |
Alexander Clouter | 9c3c133 | 2009-02-22 12:03:56 +0800 | [diff] [blame] | 25 | config HW_RANDOM_TIMERIOMEM |
| 26 | tristate "Timer IOMEM HW Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 27 | depends on HAS_IOMEM |
Alexander Clouter | 9c3c133 | 2009-02-22 12:03:56 +0800 | [diff] [blame] | 28 | ---help--- |
| 29 | This driver provides kernel-side support for a generic Random |
| 30 | Number Generator used by reading a 'dumb' iomem address that |
| 31 | is to be read no faster than, for example, once a second; |
| 32 | the default FPGA bitstream on the TS-7800 has such functionality. |
| 33 | |
| 34 | To compile this driver as a module, choose M here: the |
| 35 | module will be called timeriomem-rng. |
| 36 | |
| 37 | If unsure, say Y. |
| 38 | |
Michael Buesch | ca644bd | 2006-06-26 00:24:59 -0700 | [diff] [blame] | 39 | config HW_RANDOM_INTEL |
| 40 | tristate "Intel HW Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 41 | depends on (X86 || IA64) && PCI |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 42 | default HW_RANDOM |
Michael Buesch | ca644bd | 2006-06-26 00:24:59 -0700 | [diff] [blame] | 43 | ---help--- |
| 44 | This driver provides kernel-side support for the Random Number |
| 45 | Generator hardware found on Intel i8xx-based motherboards. |
| 46 | |
| 47 | To compile this driver as a module, choose M here: the |
| 48 | module will be called intel-rng. |
| 49 | |
| 50 | If unsure, say Y. |
Michael Buesch | 96d63c0 | 2006-06-26 00:25:00 -0700 | [diff] [blame] | 51 | |
| 52 | config HW_RANDOM_AMD |
| 53 | tristate "AMD HW Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 54 | depends on (X86 || PPC_MAPLE) && PCI |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 55 | default HW_RANDOM |
Michael Buesch | 96d63c0 | 2006-06-26 00:25:00 -0700 | [diff] [blame] | 56 | ---help--- |
| 57 | This driver provides kernel-side support for the Random Number |
| 58 | Generator hardware found on AMD 76x-based motherboards. |
| 59 | |
| 60 | To compile this driver as a module, choose M here: the |
| 61 | module will be called amd-rng. |
| 62 | |
| 63 | If unsure, say Y. |
Michael Buesch | ef5d862 | 2006-06-26 00:25:01 -0700 | [diff] [blame] | 64 | |
Peter Korsgaard | 677d3e2 | 2011-10-06 19:56:30 +0200 | [diff] [blame] | 65 | config HW_RANDOM_ATMEL |
| 66 | tristate "Atmel Random Number Generator support" |
Boris Brezillon | 4951db7 | 2014-11-20 10:43:23 +0100 | [diff] [blame] | 67 | depends on ARCH_AT91 && HAVE_CLK && OF |
Jean Delvare | 2d9cab5 | 2014-04-08 14:36:37 +0200 | [diff] [blame] | 68 | default HW_RANDOM |
Peter Korsgaard | 677d3e2 | 2011-10-06 19:56:30 +0200 | [diff] [blame] | 69 | ---help--- |
| 70 | This driver provides kernel-side support for the Random Number |
| 71 | Generator hardware found on Atmel AT91 devices. |
| 72 | |
| 73 | To compile this driver as a module, choose M here: the |
| 74 | module will be called atmel-rng. |
| 75 | |
| 76 | If unsure, say Y. |
| 77 | |
Florian Fainelli | 553072b | 2012-07-24 16:33:11 +0200 | [diff] [blame] | 78 | config HW_RANDOM_BCM63XX |
| 79 | tristate "Broadcom BCM63xx Random Number Generator support" |
Álvaro Fernández Rojas | 90859e6 | 2016-01-17 10:03:56 +0100 | [diff] [blame] | 80 | depends on BCM63XX || BMIPS_GENERIC |
Florian Fainelli | 553072b | 2012-07-24 16:33:11 +0200 | [diff] [blame] | 81 | default HW_RANDOM |
| 82 | ---help--- |
| 83 | This driver provides kernel-side support for the Random Number |
| 84 | Generator hardware found on the Broadcom BCM63xx SoCs. |
| 85 | |
| 86 | To compile this driver as a module, choose M here: the |
| 87 | module will be called bcm63xx-rng |
| 88 | |
| 89 | If unusure, say Y. |
| 90 | |
Lubomir Rintel | 8c4196a | 2013-03-28 07:19:38 +0100 | [diff] [blame] | 91 | config HW_RANDOM_BCM2835 |
| 92 | tristate "Broadcom BCM2835 Random Number Generator support" |
Florian Fainelli | 5214099 | 2016-06-22 17:27:02 -0700 | [diff] [blame] | 93 | depends on ARCH_BCM2835 || ARCH_BCM_NSP || ARCH_BCM_5301X |
Lubomir Rintel | 8c4196a | 2013-03-28 07:19:38 +0100 | [diff] [blame] | 94 | default HW_RANDOM |
| 95 | ---help--- |
| 96 | This driver provides kernel-side support for the Random Number |
| 97 | Generator hardware found on the Broadcom BCM2835 SoCs. |
| 98 | |
| 99 | To compile this driver as a module, choose M here: the |
| 100 | module will be called bcm2835-rng |
| 101 | |
| 102 | If unsure, say Y. |
Florian Fainelli | 553072b | 2012-07-24 16:33:11 +0200 | [diff] [blame] | 103 | |
Scott Branden | c83d45d | 2015-03-04 12:42:14 -0800 | [diff] [blame] | 104 | config HW_RANDOM_IPROC_RNG200 |
| 105 | tristate "Broadcom iProc RNG200 support" |
| 106 | depends on ARCH_BCM_IPROC |
| 107 | default HW_RANDOM |
| 108 | ---help--- |
| 109 | This driver provides kernel-side support for the RNG200 |
| 110 | hardware found on the Broadcom iProc SoCs. |
| 111 | |
| 112 | To compile this driver as a module, choose M here: the |
| 113 | module will be called iproc-rng200 |
| 114 | |
| 115 | If unsure, say Y. |
| 116 | |
Michael Buesch | ef5d862 | 2006-06-26 00:25:01 -0700 | [diff] [blame] | 117 | config HW_RANDOM_GEODE |
| 118 | tristate "AMD Geode HW Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 119 | depends on X86_32 && PCI |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 120 | default HW_RANDOM |
Michael Buesch | ef5d862 | 2006-06-26 00:25:01 -0700 | [diff] [blame] | 121 | ---help--- |
| 122 | This driver provides kernel-side support for the Random Number |
| 123 | Generator hardware found on the AMD Geode LX. |
| 124 | |
| 125 | To compile this driver as a module, choose M here: the |
| 126 | module will be called geode-rng. |
| 127 | |
| 128 | If unsure, say Y. |
Michael Buesch | 1352336 | 2006-06-26 00:25:02 -0700 | [diff] [blame] | 129 | |
David S. Miller | ce08715 | 2008-06-03 15:56:11 -0700 | [diff] [blame] | 130 | config HW_RANDOM_N2RNG |
| 131 | tristate "Niagara2 Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 132 | depends on SPARC64 |
David S. Miller | ce08715 | 2008-06-03 15:56:11 -0700 | [diff] [blame] | 133 | default HW_RANDOM |
| 134 | ---help--- |
| 135 | This driver provides kernel-side support for the Random Number |
| 136 | Generator hardware found on Niagara2 cpus. |
| 137 | |
| 138 | To compile this driver as a module, choose M here: the |
| 139 | module will be called n2-rng. |
| 140 | |
| 141 | If unsure, say Y. |
| 142 | |
Michael Buesch | 1352336 | 2006-06-26 00:25:02 -0700 | [diff] [blame] | 143 | config HW_RANDOM_VIA |
| 144 | tristate "VIA HW Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 145 | depends on X86 |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 146 | default HW_RANDOM |
Michael Buesch | 1352336 | 2006-06-26 00:25:02 -0700 | [diff] [blame] | 147 | ---help--- |
| 148 | This driver provides kernel-side support for the Random Number |
| 149 | Generator hardware found on VIA based motherboards. |
| 150 | |
| 151 | To compile this driver as a module, choose M here: the |
| 152 | module will be called via-rng. |
| 153 | |
| 154 | If unsure, say Y. |
Michael Buesch | d7174bc | 2006-06-26 00:25:02 -0700 | [diff] [blame] | 155 | |
| 156 | config HW_RANDOM_IXP4XX |
Krzysztof Hałasa | 553da85 | 2010-03-23 20:22:13 +0100 | [diff] [blame] | 157 | tristate "Intel IXP4xx NPU HW Pseudo-Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 158 | depends on ARCH_IXP4XX |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 159 | default HW_RANDOM |
Michael Buesch | d7174bc | 2006-06-26 00:25:02 -0700 | [diff] [blame] | 160 | ---help--- |
Krzysztof Hałasa | 553da85 | 2010-03-23 20:22:13 +0100 | [diff] [blame] | 161 | This driver provides kernel-side support for the Pseudo-Random |
| 162 | Number Generator hardware found on the Intel IXP45x/46x NPU. |
Michael Buesch | d7174bc | 2006-06-26 00:25:02 -0700 | [diff] [blame] | 163 | |
| 164 | To compile this driver as a module, choose M here: the |
| 165 | module will be called ixp4xx-rng. |
| 166 | |
| 167 | If unsure, say Y. |
Michael Buesch | ebc915a | 2006-06-26 00:25:03 -0700 | [diff] [blame] | 168 | |
| 169 | config HW_RANDOM_OMAP |
| 170 | tristate "OMAP Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 171 | depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 172 | default HW_RANDOM |
Michael Buesch | ebc915a | 2006-06-26 00:25:03 -0700 | [diff] [blame] | 173 | ---help--- |
| 174 | This driver provides kernel-side support for the Random Number |
Lokesh Vutla | e83872c | 2013-08-05 20:17:23 +0530 | [diff] [blame] | 175 | Generator hardware found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx |
| 176 | multimedia processors. |
Michael Buesch | ebc915a | 2006-06-26 00:25:03 -0700 | [diff] [blame] | 177 | |
| 178 | To compile this driver as a module, choose M here: the |
| 179 | module will be called omap-rng. |
| 180 | |
| 181 | If unsure, say Y. |
Olof Johansson | b8cb344 | 2007-05-09 02:33:35 -0700 | [diff] [blame] | 182 | |
Pali Rohár | 1c6b7c2 | 2013-09-20 15:25:06 +0200 | [diff] [blame] | 183 | config HW_RANDOM_OMAP3_ROM |
| 184 | tristate "OMAP3 ROM Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 185 | depends on ARCH_OMAP3 |
Pali Rohár | 1c6b7c2 | 2013-09-20 15:25:06 +0200 | [diff] [blame] | 186 | default HW_RANDOM |
| 187 | ---help--- |
| 188 | This driver provides kernel-side support for the Random Number |
| 189 | Generator hardware found on OMAP34xx processors. |
| 190 | |
| 191 | To compile this driver as a module, choose M here: the |
| 192 | module will be called omap3-rom-rng. |
| 193 | |
| 194 | If unsure, say Y. |
| 195 | |
David Daney | f7557dc | 2009-08-20 14:10:23 -0700 | [diff] [blame] | 196 | config HW_RANDOM_OCTEON |
| 197 | tristate "Octeon Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 198 | depends on CAVIUM_OCTEON_SOC |
David Daney | f7557dc | 2009-08-20 14:10:23 -0700 | [diff] [blame] | 199 | default HW_RANDOM |
| 200 | ---help--- |
| 201 | This driver provides kernel-side support for the Random Number |
| 202 | Generator hardware found on Octeon processors. |
| 203 | |
| 204 | To compile this driver as a module, choose M here: the |
| 205 | module will be called octeon-rng. |
| 206 | |
| 207 | If unsure, say Y. |
| 208 | |
Olof Johansson | b8cb344 | 2007-05-09 02:33:35 -0700 | [diff] [blame] | 209 | config HW_RANDOM_PASEMI |
| 210 | tristate "PA Semi HW Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 211 | depends on PPC_PASEMI |
Olof Johansson | b8cb344 | 2007-05-09 02:33:35 -0700 | [diff] [blame] | 212 | default HW_RANDOM |
| 213 | ---help--- |
| 214 | This driver provides kernel-side support for the Random Number |
Olof Johansson | 0d08a84 | 2007-11-04 20:57:45 -0600 | [diff] [blame] | 215 | Generator hardware found on PA Semi PWRficient SoCs. |
Olof Johansson | b8cb344 | 2007-05-09 02:33:35 -0700 | [diff] [blame] | 216 | |
| 217 | To compile this driver as a module, choose M here: the |
| 218 | module will be called pasemi-rng. |
| 219 | |
| 220 | If unsure, say Y. |
| 221 | |
Rusty Russell | f7f510e | 2008-05-30 15:09:44 -0500 | [diff] [blame] | 222 | config HW_RANDOM_VIRTIO |
| 223 | tristate "VirtIO Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 224 | depends on VIRTIO |
Rusty Russell | f7f510e | 2008-05-30 15:09:44 -0500 | [diff] [blame] | 225 | ---help--- |
| 226 | This driver provides kernel-side support for the virtual Random Number |
| 227 | Generator hardware. |
| 228 | |
| 229 | To compile this driver as a module, choose M here: the |
| 230 | module will be called virtio-rng. If unsure, say N. |
Alan Carvalho de Assis | 45001e9 | 2009-04-02 12:38:41 -0300 | [diff] [blame] | 231 | |
Atsushi Nemoto | 049a947 | 2009-06-02 23:54:21 +0900 | [diff] [blame] | 232 | config HW_RANDOM_TX4939 |
| 233 | tristate "TX4939 Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 234 | depends on SOC_TX4939 |
Atsushi Nemoto | 049a947 | 2009-06-02 23:54:21 +0900 | [diff] [blame] | 235 | default HW_RANDOM |
| 236 | ---help--- |
| 237 | This driver provides kernel-side support for the Random Number |
| 238 | Generator hardware found on TX4939 SoC. |
| 239 | |
| 240 | To compile this driver as a module, choose M here: the |
| 241 | module will be called tx4939-rng. |
| 242 | |
| 243 | If unsure, say Y. |
| 244 | |
Alan Carvalho de Assis | 45001e9 | 2009-04-02 12:38:41 -0300 | [diff] [blame] | 245 | config HW_RANDOM_MXC_RNGA |
| 246 | tristate "Freescale i.MX RNGA Random Number Generator" |
Fabian Frederick | f74bdd4 | 2016-08-16 21:49:45 +0200 | [diff] [blame] | 247 | depends on SOC_IMX31 |
Jean Delvare | 2d9cab5 | 2014-04-08 14:36:37 +0200 | [diff] [blame] | 248 | default HW_RANDOM |
Alan Carvalho de Assis | 45001e9 | 2009-04-02 12:38:41 -0300 | [diff] [blame] | 249 | ---help--- |
| 250 | This driver provides kernel-side support for the Random Number |
| 251 | Generator hardware found on Freescale i.MX processors. |
| 252 | |
| 253 | To compile this driver as a module, choose M here: the |
| 254 | module will be called mxc-rnga. |
| 255 | |
| 256 | If unsure, say Y. |
Alessandro Rubini | bc85b25 | 2009-12-19 19:45:43 +0800 | [diff] [blame] | 257 | |
| 258 | config HW_RANDOM_NOMADIK |
| 259 | tristate "ST-Ericsson Nomadik Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 260 | depends on ARCH_NOMADIK |
Jean Delvare | 2d9cab5 | 2014-04-08 14:36:37 +0200 | [diff] [blame] | 261 | default HW_RANDOM |
Alessandro Rubini | bc85b25 | 2009-12-19 19:45:43 +0800 | [diff] [blame] | 262 | ---help--- |
| 263 | This driver provides kernel-side support for the Random Number |
| 264 | Generator hardware found on ST-Ericsson SoCs (8815 and 8500). |
| 265 | |
| 266 | To compile this driver as a module, choose M here: the |
| 267 | module will be called nomadik-rng. |
| 268 | |
| 269 | If unsure, say Y. |
Jamie Iles | 5efb94e | 2011-01-23 18:58:29 +1100 | [diff] [blame] | 270 | |
Kent Yoder | 649e9ea | 2012-04-12 05:08:53 +0000 | [diff] [blame] | 271 | config HW_RANDOM_PSERIES |
| 272 | tristate "pSeries HW Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 273 | depends on PPC64 && IBMVIO |
Kent Yoder | 649e9ea | 2012-04-12 05:08:53 +0000 | [diff] [blame] | 274 | default HW_RANDOM |
| 275 | ---help--- |
| 276 | This driver provides kernel-side support for the Random Number |
| 277 | Generator hardware found on POWER7+ machines and above |
| 278 | |
| 279 | To compile this driver as a module, choose M here: the |
| 280 | module will be called pseries-rng. |
| 281 | |
| 282 | If unsure, say Y. |
Jonghwa Lee | b329669 | 2012-06-29 09:43:26 +0900 | [diff] [blame] | 283 | |
Michael Ellerman | 66548e4 | 2013-10-11 14:07:58 +1100 | [diff] [blame] | 284 | config HW_RANDOM_POWERNV |
| 285 | tristate "PowerNV Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 286 | depends on PPC_POWERNV |
Michael Ellerman | 66548e4 | 2013-10-11 14:07:58 +1100 | [diff] [blame] | 287 | default HW_RANDOM |
| 288 | ---help--- |
| 289 | This is the driver for Random Number Generator hardware found |
| 290 | in POWER7+ and above machines for PowerNV platform. |
| 291 | |
| 292 | To compile this driver as a module, choose M here: the |
| 293 | module will be called powernv-rng. |
| 294 | |
| 295 | If unsure, say Y. |
| 296 | |
Jonghwa Lee | b329669 | 2012-06-29 09:43:26 +0900 | [diff] [blame] | 297 | config HW_RANDOM_EXYNOS |
| 298 | tristate "EXYNOS HW random number generator support" |
Krzysztof Kozlowski | 4dd6e9e | 2016-03-14 13:19:55 +0900 | [diff] [blame] | 299 | depends on ARCH_EXYNOS || COMPILE_TEST |
| 300 | depends on HAS_IOMEM |
Jean Delvare | 2d9cab5 | 2014-04-08 14:36:37 +0200 | [diff] [blame] | 301 | default HW_RANDOM |
Jonghwa Lee | b329669 | 2012-06-29 09:43:26 +0900 | [diff] [blame] | 302 | ---help--- |
| 303 | This driver provides kernel-side support for the Random Number |
| 304 | Generator hardware found on EXYNOS SOCs. |
| 305 | |
| 306 | To compile this driver as a module, choose M here: the |
| 307 | module will be called exynos-rng. |
| 308 | |
| 309 | If unsure, say Y. |
Kent Yoder | 578b016 | 2012-08-08 14:18:57 -0500 | [diff] [blame] | 310 | |
| 311 | config HW_RANDOM_TPM |
| 312 | tristate "TPM HW Random Number Generator support" |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 313 | depends on TCG_TPM |
Kent Yoder | 578b016 | 2012-08-08 14:18:57 -0500 | [diff] [blame] | 314 | default HW_RANDOM |
| 315 | ---help--- |
| 316 | This driver provides kernel-side support for the Random Number |
| 317 | Generator in the Trusted Platform Module |
| 318 | |
| 319 | To compile this driver as a module, choose M here: the |
| 320 | module will be called tpm-rng. |
| 321 | |
| 322 | If unsure, say Y. |
Stanimir Varbanov | 0d28978 | 2013-10-15 17:11:18 +0300 | [diff] [blame] | 323 | |
Kefeng Wang | afc39d6 | 2016-04-13 18:11:28 +0800 | [diff] [blame] | 324 | config HW_RANDOM_HISI |
| 325 | tristate "Hisilicon Random Number Generator support" |
| 326 | depends on HW_RANDOM && ARCH_HISI |
| 327 | default HW_RANDOM |
| 328 | ---help--- |
| 329 | This driver provides kernel-side support for the Random Number |
| 330 | Generator hardware found on Hisilicon Hip04 and Hip05 SoC. |
| 331 | |
| 332 | To compile this driver as a module, choose M here: the |
| 333 | module will be called hisi-rng. |
| 334 | |
| 335 | If unsure, say Y. |
| 336 | |
Stanimir Varbanov | 0d28978 | 2013-10-15 17:11:18 +0300 | [diff] [blame] | 337 | config HW_RANDOM_MSM |
Linus Torvalds | 639b4ac | 2014-06-07 19:44:40 -0700 | [diff] [blame] | 338 | tristate "Qualcomm SoCs Random Number Generator support" |
| 339 | depends on HW_RANDOM && ARCH_QCOM |
Stanimir Varbanov | 0d28978 | 2013-10-15 17:11:18 +0300 | [diff] [blame] | 340 | ---help--- |
| 341 | This driver provides kernel-side support for the Random Number |
Linus Torvalds | 639b4ac | 2014-06-07 19:44:40 -0700 | [diff] [blame] | 342 | Generator hardware found on Qualcomm SoCs. |
Stanimir Varbanov | 0d28978 | 2013-10-15 17:11:18 +0300 | [diff] [blame] | 343 | |
| 344 | To compile this driver as a module, choose M here. the |
| 345 | module will be called msm-rng. |
| 346 | |
| 347 | If unsure, say Y. |
Jean Delvare | dc64ef0 | 2014-04-08 14:27:31 +0200 | [diff] [blame] | 348 | |
AnilKumar Chimata | a2ba95f | 2017-04-18 13:00:04 -0700 | [diff] [blame] | 349 | config HW_RANDOM_MSM_LEGACY |
| 350 | tristate "QTI MSM Random Number Generator support (LEGACY)" |
| 351 | depends on HW_RANDOM && ARCH_QCOM |
| 352 | select CRYPTO_AES |
| 353 | select CRYPTO_ECB |
| 354 | ---help--- |
| 355 | This driver provides kernel-side support for the Random Number |
| 356 | Generator hardware found on QTI MSM SoCs. |
| 357 | |
| 358 | To compile this driver as a module, choose M here: the |
| 359 | module will be called msm_rng. |
| 360 | |
| 361 | If unsure, say Y. |
| 362 | |
Lee Jones | 4a4da53 | 2015-09-17 14:45:55 +0100 | [diff] [blame] | 363 | config HW_RANDOM_ST |
| 364 | tristate "ST Microelectronics HW Random Number Generator support" |
| 365 | depends on HW_RANDOM && ARCH_STI |
| 366 | ---help--- |
| 367 | This driver provides kernel-side support for the Random Number |
| 368 | Generator hardware found on STi series of SoCs. |
| 369 | |
| 370 | To compile this driver as a module, choose M here: the |
| 371 | module will be called st-rng. |
| 372 | |
Feng Kan | a91ae4e | 2014-08-22 16:26:38 -0700 | [diff] [blame] | 373 | config HW_RANDOM_XGENE |
| 374 | tristate "APM X-Gene True Random Number Generator (TRNG) support" |
| 375 | depends on HW_RANDOM && ARCH_XGENE |
| 376 | default HW_RANDOM |
| 377 | ---help--- |
| 378 | This driver provides kernel-side support for the Random Number |
| 379 | Generator hardware found on APM X-Gene SoC. |
| 380 | |
| 381 | To compile this driver as a module, choose M here: the |
| 382 | module will be called xgene_rng. |
| 383 | |
| 384 | If unsure, say Y. |
| 385 | |
Daniel Thompson | c6a97c4 | 2015-10-12 09:21:29 +0100 | [diff] [blame] | 386 | config HW_RANDOM_STM32 |
| 387 | tristate "STMicroelectronics STM32 random number generator" |
| 388 | depends on HW_RANDOM && (ARCH_STM32 || COMPILE_TEST) |
Richard Weinberger | 625b4a9 | 2016-01-25 23:24:04 +0100 | [diff] [blame] | 389 | depends on HAS_IOMEM |
Daniel Thompson | c6a97c4 | 2015-10-12 09:21:29 +0100 | [diff] [blame] | 390 | help |
| 391 | This driver provides kernel-side support for the Random Number |
| 392 | Generator hardware found on STM32 microcontrollers. |
| 393 | |
| 394 | To compile this driver as a module, choose M here: the |
| 395 | module will be called stm32-rng. |
| 396 | |
| 397 | If unsure, say N. |
| 398 | |
Joshua Henderson | 730d02e | 2016-02-08 14:17:53 -0700 | [diff] [blame] | 399 | config HW_RANDOM_PIC32 |
| 400 | tristate "Microchip PIC32 Random Number Generator support" |
| 401 | depends on HW_RANDOM && MACH_PIC32 |
| 402 | default y |
| 403 | ---help--- |
| 404 | This driver provides kernel-side support for the Random Number |
| 405 | Generator hardware found on a PIC32. |
| 406 | |
| 407 | To compile this driver as a module, choose M here. the |
| 408 | module will be called pic32-rng. |
| 409 | |
| 410 | If unsure, say Y. |
| 411 | |
Neil Armstrong | e123be1 | 2016-06-10 10:21:53 +0200 | [diff] [blame] | 412 | config HW_RANDOM_MESON |
| 413 | tristate "Amlogic Meson Random Number Generator support" |
| 414 | depends on HW_RANDOM |
| 415 | depends on ARCH_MESON || COMPILE_TEST |
| 416 | default y |
| 417 | ---help--- |
| 418 | This driver provides kernel-side support for the Random Number |
| 419 | Generator hardware found on Amlogic Meson SoCs. |
| 420 | |
| 421 | To compile this driver as a module, choose M here. the |
| 422 | module will be called meson-rng. |
| 423 | |
| 424 | If unsure, say Y. |
| 425 | |
Omer Khaliq | cc2f190 | 2016-08-23 16:27:15 -0700 | [diff] [blame] | 426 | config HW_RANDOM_CAVIUM |
| 427 | tristate "Cavium ThunderX Random Number Generator support" |
| 428 | depends on HW_RANDOM && PCI && (ARM64 || (COMPILE_TEST && 64BIT)) |
| 429 | default HW_RANDOM |
| 430 | ---help--- |
| 431 | This driver provides kernel-side support for the Random Number |
| 432 | Generator hardware found on Cavium SoCs. |
| 433 | |
| 434 | To compile this driver as a module, choose M here: the |
| 435 | module will be called cavium_rng. |
| 436 | |
| 437 | If unsure, say Y. |
| 438 | |
Jean Delvare | 0200161 | 2014-04-08 14:33:04 +0200 | [diff] [blame] | 439 | endif # HW_RANDOM |
| 440 | |
Al Viro | d805a78 | 2011-08-18 20:13:00 +0100 | [diff] [blame] | 441 | config UML_RANDOM |
Michael Buesch | 844dd05 | 2006-06-26 00:24:59 -0700 | [diff] [blame] | 442 | depends on UML |
| 443 | tristate "Hardware random number generator" |
| 444 | help |
| 445 | This option enables UML's "hardware" random number generator. It |
| 446 | attaches itself to the host's /dev/random, supplying as much entropy |
| 447 | as the host has, rather than the small amount the UML gets from its |
| 448 | own drivers. It registers itself as a standard hardware random number |
| 449 | generator, major 10, minor 183, and the canonical device name is |
| 450 | /dev/hwrng. |
| 451 | The way to make use of this is to install the rng-tools package |
| 452 | (check your distro, or download from |
| 453 | http://sourceforge.net/projects/gkernel/). rngd periodically reads |
| 454 | /dev/hwrng and injects the entropy into /dev/random. |