Michael Buesch | 844dd05 | 2006-06-26 00:24:59 -0700 | [diff] [blame] | 1 | # |
| 2 | # Hardware Random Number Generator (RNG) configuration |
| 3 | # |
| 4 | |
| 5 | config 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 |
| 13 | that's usually called /dev/hw_random, and which exposes one |
| 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 | |
Alexander Clouter | 9c3c133 | 2009-02-22 12:03:56 +0800 | [diff] [blame] | 23 | config HW_RANDOM_TIMERIOMEM |
| 24 | tristate "Timer IOMEM HW Random Number Generator support" |
Heiko Carstens | e88cd6f | 2009-03-21 14:19:04 +0800 | [diff] [blame] | 25 | depends on HW_RANDOM && HAS_IOMEM |
Alexander Clouter | 9c3c133 | 2009-02-22 12:03:56 +0800 | [diff] [blame] | 26 | ---help--- |
| 27 | This driver provides kernel-side support for a generic Random |
| 28 | Number Generator used by reading a 'dumb' iomem address that |
| 29 | is to be read no faster than, for example, once a second; |
| 30 | the default FPGA bitstream on the TS-7800 has such functionality. |
| 31 | |
| 32 | To compile this driver as a module, choose M here: the |
| 33 | module will be called timeriomem-rng. |
| 34 | |
| 35 | If unsure, say Y. |
| 36 | |
Michael Buesch | ca644bd | 2006-06-26 00:24:59 -0700 | [diff] [blame] | 37 | config HW_RANDOM_INTEL |
| 38 | tristate "Intel HW Random Number Generator support" |
| 39 | depends on HW_RANDOM && (X86 || IA64) && PCI |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 40 | default HW_RANDOM |
Michael Buesch | ca644bd | 2006-06-26 00:24:59 -0700 | [diff] [blame] | 41 | ---help--- |
| 42 | This driver provides kernel-side support for the Random Number |
| 43 | Generator hardware found on Intel i8xx-based motherboards. |
| 44 | |
| 45 | To compile this driver as a module, choose M here: the |
| 46 | module will be called intel-rng. |
| 47 | |
| 48 | If unsure, say Y. |
Michael Buesch | 96d63c0 | 2006-06-26 00:25:00 -0700 | [diff] [blame] | 49 | |
| 50 | config HW_RANDOM_AMD |
| 51 | tristate "AMD HW Random Number Generator support" |
Dmitry Eremin-Solenikov | 3023b5b | 2011-04-27 23:21:16 +0400 | [diff] [blame] | 52 | depends on HW_RANDOM && (X86 || PPC_MAPLE) && PCI |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 53 | default HW_RANDOM |
Michael Buesch | 96d63c0 | 2006-06-26 00:25:00 -0700 | [diff] [blame] | 54 | ---help--- |
| 55 | This driver provides kernel-side support for the Random Number |
| 56 | Generator hardware found on AMD 76x-based motherboards. |
| 57 | |
| 58 | To compile this driver as a module, choose M here: the |
| 59 | module will be called amd-rng. |
| 60 | |
| 61 | If unsure, say Y. |
Michael Buesch | ef5d862 | 2006-06-26 00:25:01 -0700 | [diff] [blame] | 62 | |
Peter Korsgaard | 677d3e2 | 2011-10-06 19:56:30 +0200 | [diff] [blame] | 63 | config HW_RANDOM_ATMEL |
| 64 | tristate "Atmel Random Number Generator support" |
Nicolas Ferre | 1234f4b | 2012-03-15 16:10:59 +0100 | [diff] [blame] | 65 | depends on HW_RANDOM && HAVE_CLK |
Nicolas Ferre | 028fdd8 | 2012-04-30 20:00:35 +1000 | [diff] [blame] | 66 | default (HW_RANDOM && ARCH_AT91) |
Peter Korsgaard | 677d3e2 | 2011-10-06 19:56:30 +0200 | [diff] [blame] | 67 | ---help--- |
| 68 | This driver provides kernel-side support for the Random Number |
| 69 | Generator hardware found on Atmel AT91 devices. |
| 70 | |
| 71 | To compile this driver as a module, choose M here: the |
| 72 | module will be called atmel-rng. |
| 73 | |
| 74 | If unsure, say Y. |
| 75 | |
Florian Fainelli | 553072b | 2012-07-24 16:33:11 +0200 | [diff] [blame] | 76 | config HW_RANDOM_BCM63XX |
| 77 | tristate "Broadcom BCM63xx Random Number Generator support" |
| 78 | depends on HW_RANDOM && BCM63XX |
| 79 | default HW_RANDOM |
| 80 | ---help--- |
| 81 | This driver provides kernel-side support for the Random Number |
| 82 | Generator hardware found on the Broadcom BCM63xx SoCs. |
| 83 | |
| 84 | To compile this driver as a module, choose M here: the |
| 85 | module will be called bcm63xx-rng |
| 86 | |
| 87 | If unusure, say Y. |
| 88 | |
| 89 | |
Michael Buesch | ef5d862 | 2006-06-26 00:25:01 -0700 | [diff] [blame] | 90 | config HW_RANDOM_GEODE |
| 91 | tristate "AMD Geode HW Random Number Generator support" |
Yinghai Lu | e199ece | 2007-07-21 17:11:22 +0200 | [diff] [blame] | 92 | depends on HW_RANDOM && X86_32 && PCI |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 93 | default HW_RANDOM |
Michael Buesch | ef5d862 | 2006-06-26 00:25:01 -0700 | [diff] [blame] | 94 | ---help--- |
| 95 | This driver provides kernel-side support for the Random Number |
| 96 | Generator hardware found on the AMD Geode LX. |
| 97 | |
| 98 | To compile this driver as a module, choose M here: the |
| 99 | module will be called geode-rng. |
| 100 | |
| 101 | If unsure, say Y. |
Michael Buesch | 1352336 | 2006-06-26 00:25:02 -0700 | [diff] [blame] | 102 | |
David S. Miller | ce08715 | 2008-06-03 15:56:11 -0700 | [diff] [blame] | 103 | config HW_RANDOM_N2RNG |
| 104 | tristate "Niagara2 Random Number Generator support" |
| 105 | depends on HW_RANDOM && SPARC64 |
| 106 | default HW_RANDOM |
| 107 | ---help--- |
| 108 | This driver provides kernel-side support for the Random Number |
| 109 | Generator hardware found on Niagara2 cpus. |
| 110 | |
| 111 | To compile this driver as a module, choose M here: the |
| 112 | module will be called n2-rng. |
| 113 | |
| 114 | If unsure, say Y. |
| 115 | |
Michael Buesch | 1352336 | 2006-06-26 00:25:02 -0700 | [diff] [blame] | 116 | config HW_RANDOM_VIA |
| 117 | tristate "VIA HW Random Number Generator support" |
Harald Welte | e9736c1 | 2009-05-15 16:01:52 +1000 | [diff] [blame] | 118 | depends on HW_RANDOM && X86 |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 119 | default HW_RANDOM |
Michael Buesch | 1352336 | 2006-06-26 00:25:02 -0700 | [diff] [blame] | 120 | ---help--- |
| 121 | This driver provides kernel-side support for the Random Number |
| 122 | Generator hardware found on VIA based motherboards. |
| 123 | |
| 124 | To compile this driver as a module, choose M here: the |
| 125 | module will be called via-rng. |
| 126 | |
| 127 | If unsure, say Y. |
Michael Buesch | d7174bc | 2006-06-26 00:25:02 -0700 | [diff] [blame] | 128 | |
| 129 | config HW_RANDOM_IXP4XX |
Krzysztof Hałasa | 553da85 | 2010-03-23 20:22:13 +0100 | [diff] [blame] | 130 | tristate "Intel IXP4xx NPU HW Pseudo-Random Number Generator support" |
Michael Buesch | d7174bc | 2006-06-26 00:25:02 -0700 | [diff] [blame] | 131 | depends on HW_RANDOM && ARCH_IXP4XX |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 132 | default HW_RANDOM |
Michael Buesch | d7174bc | 2006-06-26 00:25:02 -0700 | [diff] [blame] | 133 | ---help--- |
Krzysztof Hałasa | 553da85 | 2010-03-23 20:22:13 +0100 | [diff] [blame] | 134 | This driver provides kernel-side support for the Pseudo-Random |
| 135 | Number Generator hardware found on the Intel IXP45x/46x NPU. |
Michael Buesch | d7174bc | 2006-06-26 00:25:02 -0700 | [diff] [blame] | 136 | |
| 137 | To compile this driver as a module, choose M here: the |
| 138 | module will be called ixp4xx-rng. |
| 139 | |
| 140 | If unsure, say Y. |
Michael Buesch | ebc915a | 2006-06-26 00:25:03 -0700 | [diff] [blame] | 141 | |
| 142 | config HW_RANDOM_OMAP |
| 143 | tristate "OMAP Random Number Generator support" |
Tony Lindgren | 088ef95 | 2010-02-12 12:26:47 -0800 | [diff] [blame] | 144 | depends on HW_RANDOM && (ARCH_OMAP16XX || ARCH_OMAP2) |
Jan Beulich | fed806f | 2006-12-06 20:38:20 -0800 | [diff] [blame] | 145 | default HW_RANDOM |
Michael Buesch | ebc915a | 2006-06-26 00:25:03 -0700 | [diff] [blame] | 146 | ---help--- |
| 147 | This driver provides kernel-side support for the Random Number |
| 148 | Generator hardware found on OMAP16xx and OMAP24xx multimedia |
| 149 | processors. |
| 150 | |
| 151 | To compile this driver as a module, choose M here: the |
| 152 | module will be called omap-rng. |
| 153 | |
| 154 | If unsure, say Y. |
Olof Johansson | b8cb344 | 2007-05-09 02:33:35 -0700 | [diff] [blame] | 155 | |
David Daney | f7557dc | 2009-08-20 14:10:23 -0700 | [diff] [blame] | 156 | config HW_RANDOM_OCTEON |
| 157 | tristate "Octeon Random Number Generator support" |
| 158 | depends on HW_RANDOM && CPU_CAVIUM_OCTEON |
| 159 | default HW_RANDOM |
| 160 | ---help--- |
| 161 | This driver provides kernel-side support for the Random Number |
| 162 | Generator hardware found on Octeon processors. |
| 163 | |
| 164 | To compile this driver as a module, choose M here: the |
| 165 | module will be called octeon-rng. |
| 166 | |
| 167 | If unsure, say Y. |
| 168 | |
Olof Johansson | b8cb344 | 2007-05-09 02:33:35 -0700 | [diff] [blame] | 169 | config HW_RANDOM_PASEMI |
| 170 | tristate "PA Semi HW Random Number Generator support" |
| 171 | depends on HW_RANDOM && PPC_PASEMI |
| 172 | default HW_RANDOM |
| 173 | ---help--- |
| 174 | This driver provides kernel-side support for the Random Number |
Olof Johansson | 0d08a84 | 2007-11-04 20:57:45 -0600 | [diff] [blame] | 175 | Generator hardware found on PA Semi PWRficient SoCs. |
Olof Johansson | b8cb344 | 2007-05-09 02:33:35 -0700 | [diff] [blame] | 176 | |
| 177 | To compile this driver as a module, choose M here: the |
| 178 | module will be called pasemi-rng. |
| 179 | |
| 180 | If unsure, say Y. |
| 181 | |
Rusty Russell | f7f510e | 2008-05-30 15:09:44 -0500 | [diff] [blame] | 182 | config HW_RANDOM_VIRTIO |
| 183 | tristate "VirtIO Random Number Generator support" |
| 184 | depends on HW_RANDOM && VIRTIO |
| 185 | ---help--- |
| 186 | This driver provides kernel-side support for the virtual Random Number |
| 187 | Generator hardware. |
| 188 | |
| 189 | To compile this driver as a module, choose M here: the |
| 190 | module will be called virtio-rng. If unsure, say N. |
Alan Carvalho de Assis | 45001e9 | 2009-04-02 12:38:41 -0300 | [diff] [blame] | 191 | |
Atsushi Nemoto | 049a947 | 2009-06-02 23:54:21 +0900 | [diff] [blame] | 192 | config HW_RANDOM_TX4939 |
| 193 | tristate "TX4939 Random Number Generator support" |
| 194 | depends on HW_RANDOM && SOC_TX4939 |
| 195 | default HW_RANDOM |
| 196 | ---help--- |
| 197 | This driver provides kernel-side support for the Random Number |
| 198 | Generator hardware found on TX4939 SoC. |
| 199 | |
| 200 | To compile this driver as a module, choose M here: the |
| 201 | module will be called tx4939-rng. |
| 202 | |
| 203 | If unsure, say Y. |
| 204 | |
Alan Carvalho de Assis | 45001e9 | 2009-04-02 12:38:41 -0300 | [diff] [blame] | 205 | config HW_RANDOM_MXC_RNGA |
| 206 | tristate "Freescale i.MX RNGA Random Number Generator" |
| 207 | depends on HW_RANDOM && ARCH_HAS_RNGA |
| 208 | ---help--- |
| 209 | This driver provides kernel-side support for the Random Number |
| 210 | Generator hardware found on Freescale i.MX processors. |
| 211 | |
| 212 | To compile this driver as a module, choose M here: the |
| 213 | module will be called mxc-rnga. |
| 214 | |
| 215 | If unsure, say Y. |
Alessandro Rubini | bc85b25 | 2009-12-19 19:45:43 +0800 | [diff] [blame] | 216 | |
| 217 | config HW_RANDOM_NOMADIK |
| 218 | tristate "ST-Ericsson Nomadik Random Number Generator support" |
Linus Walleij | 694e33a | 2012-10-18 14:01:25 +0200 | [diff] [blame] | 219 | depends on HW_RANDOM && ARCH_NOMADIK |
Alessandro Rubini | bc85b25 | 2009-12-19 19:45:43 +0800 | [diff] [blame] | 220 | ---help--- |
| 221 | This driver provides kernel-side support for the Random Number |
| 222 | Generator hardware found on ST-Ericsson SoCs (8815 and 8500). |
| 223 | |
| 224 | To compile this driver as a module, choose M here: the |
| 225 | module will be called nomadik-rng. |
| 226 | |
| 227 | If unsure, say Y. |
Jamie Iles | 5efb94e | 2011-01-23 18:58:29 +1100 | [diff] [blame] | 228 | |
| 229 | config HW_RANDOM_PICOXCELL |
| 230 | tristate "Picochip picoXcell true random number generator support" |
| 231 | depends on HW_RANDOM && ARCH_PICOXCELL && PICOXCELL_PC3X3 |
| 232 | ---help--- |
| 233 | This driver provides kernel-side support for the Random Number |
| 234 | Generator hardware found on Picochip PC3x3 and later devices. |
| 235 | |
| 236 | To compile this driver as a module, choose M here: the |
| 237 | module will be called picoxcell-rng. |
| 238 | |
| 239 | If unsure, say Y. |
Josh Boyer | 52527cf | 2011-06-27 15:34:54 +0800 | [diff] [blame] | 240 | |
| 241 | config HW_RANDOM_PPC4XX |
| 242 | tristate "PowerPC 4xx generic true random number generator support" |
| 243 | depends on HW_RANDOM && PPC && 4xx |
| 244 | ---help--- |
| 245 | This driver provides the kernel-side support for the TRNG hardware |
| 246 | found in the security function of some PowerPC 4xx SoCs. |
| 247 | |
| 248 | To compile this driver as a module, choose M here: the |
| 249 | module will be called ppc4xx-rng. |
| 250 | |
| 251 | If unsure, say N. |
Al Viro | d805a78 | 2011-08-18 20:13:00 +0100 | [diff] [blame] | 252 | |
| 253 | config UML_RANDOM |
| 254 | depends on UML |
| 255 | tristate "Hardware random number generator" |
| 256 | help |
| 257 | This option enables UML's "hardware" random number generator. It |
| 258 | attaches itself to the host's /dev/random, supplying as much entropy |
| 259 | as the host has, rather than the small amount the UML gets from its |
| 260 | own drivers. It registers itself as a standard hardware random number |
| 261 | generator, major 10, minor 183, and the canonical device name is |
| 262 | /dev/hwrng. |
| 263 | The way to make use of this is to install the rng-tools package |
| 264 | (check your distro, or download from |
| 265 | http://sourceforge.net/projects/gkernel/). rngd periodically reads |
| 266 | /dev/hwrng and injects the entropy into /dev/random. |
Kent Yoder | 649e9ea | 2012-04-12 05:08:53 +0000 | [diff] [blame] | 267 | |
| 268 | config HW_RANDOM_PSERIES |
| 269 | tristate "pSeries HW Random Number Generator support" |
| 270 | depends on HW_RANDOM && PPC64 && IBMVIO |
| 271 | default HW_RANDOM |
| 272 | ---help--- |
| 273 | This driver provides kernel-side support for the Random Number |
| 274 | Generator hardware found on POWER7+ machines and above |
| 275 | |
| 276 | To compile this driver as a module, choose M here: the |
| 277 | module will be called pseries-rng. |
| 278 | |
| 279 | If unsure, say Y. |
Jonghwa Lee | b329669 | 2012-06-29 09:43:26 +0900 | [diff] [blame] | 280 | |
| 281 | config HW_RANDOM_EXYNOS |
| 282 | tristate "EXYNOS HW random number generator support" |
| 283 | depends on HW_RANDOM && HAS_IOMEM && HAVE_CLK |
| 284 | ---help--- |
| 285 | This driver provides kernel-side support for the Random Number |
| 286 | Generator hardware found on EXYNOS SOCs. |
| 287 | |
| 288 | To compile this driver as a module, choose M here: the |
| 289 | module will be called exynos-rng. |
| 290 | |
| 291 | If unsure, say Y. |
Kent Yoder | 578b016 | 2012-08-08 14:18:57 -0500 | [diff] [blame] | 292 | |
| 293 | config HW_RANDOM_TPM |
| 294 | tristate "TPM HW Random Number Generator support" |
| 295 | depends on HW_RANDOM && TCG_TPM |
| 296 | default HW_RANDOM |
| 297 | ---help--- |
| 298 | This driver provides kernel-side support for the Random Number |
| 299 | Generator in the Trusted Platform Module |
| 300 | |
| 301 | To compile this driver as a module, choose M here: the |
| 302 | module will be called tpm-rng. |
| 303 | |
| 304 | If unsure, say Y. |