blob: 2f2b08457c673547568187f04863a01947163385 [file] [log] [blame]
Michael Buesch844dd052006-06-26 00:24:59 -07001#
2# Hardware Random Number Generator (RNG) configuration
3#
4
5config HW_RANDOM
Jan Beulichfed806f2006-12-06 20:38:20 -08006 tristate "Hardware Random Number Generator Core support"
7 default m
Michael Buesch844dd052006-06-26 00:24:59 -07008 ---help---
9 Hardware Random Number Generator Core infrastructure.
10
Jan Beulichfed806f2006-12-06 20:38:20 -080011 To compile this driver as a module, choose M here: the
David Brownell537878d2008-03-24 12:29:51 -070012 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 Beulichfed806f2006-12-06 20:38:20 -080020
Michael Buesch844dd052006-06-26 00:24:59 -070021 If unsure, say Y.
Michael Bueschca644bd2006-06-26 00:24:59 -070022
Alexander Clouter9c3c1332009-02-22 12:03:56 +080023config HW_RANDOM_TIMERIOMEM
24 tristate "Timer IOMEM HW Random Number Generator support"
Heiko Carstense88cd6f2009-03-21 14:19:04 +080025 depends on HW_RANDOM && HAS_IOMEM
Alexander Clouter9c3c1332009-02-22 12:03:56 +080026 ---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 Bueschca644bd2006-06-26 00:24:59 -070037config HW_RANDOM_INTEL
38 tristate "Intel HW Random Number Generator support"
39 depends on HW_RANDOM && (X86 || IA64) && PCI
Jan Beulichfed806f2006-12-06 20:38:20 -080040 default HW_RANDOM
Michael Bueschca644bd2006-06-26 00:24:59 -070041 ---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 Buesch96d63c02006-06-26 00:25:00 -070049
50config HW_RANDOM_AMD
51 tristate "AMD HW Random Number Generator support"
Dmitry Eremin-Solenikov3023b5b2011-04-27 23:21:16 +040052 depends on HW_RANDOM && (X86 || PPC_MAPLE) && PCI
Jan Beulichfed806f2006-12-06 20:38:20 -080053 default HW_RANDOM
Michael Buesch96d63c02006-06-26 00:25:00 -070054 ---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 Bueschef5d8622006-06-26 00:25:01 -070062
Peter Korsgaard677d3e22011-10-06 19:56:30 +020063config HW_RANDOM_ATMEL
64 tristate "Atmel Random Number Generator support"
Nicolas Ferre1234f4b2012-03-15 16:10:59 +010065 depends on HW_RANDOM && HAVE_CLK
Nicolas Ferre028fdd82012-04-30 20:00:35 +100066 default (HW_RANDOM && ARCH_AT91)
Peter Korsgaard677d3e22011-10-06 19:56:30 +020067 ---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 Fainelli553072b2012-07-24 16:33:11 +020076config 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
Lubomir Rintel8c4196a2013-03-28 07:19:38 +010089config HW_RANDOM_BCM2835
90 tristate "Broadcom BCM2835 Random Number Generator support"
91 depends on HW_RANDOM && ARCH_BCM2835
92 default HW_RANDOM
93 ---help---
94 This driver provides kernel-side support for the Random Number
95 Generator hardware found on the Broadcom BCM2835 SoCs.
96
97 To compile this driver as a module, choose M here: the
98 module will be called bcm2835-rng
99
100 If unsure, say Y.
Florian Fainelli553072b2012-07-24 16:33:11 +0200101
Michael Bueschef5d8622006-06-26 00:25:01 -0700102config HW_RANDOM_GEODE
103 tristate "AMD Geode HW Random Number Generator support"
Yinghai Lue199ece2007-07-21 17:11:22 +0200104 depends on HW_RANDOM && X86_32 && PCI
Jan Beulichfed806f2006-12-06 20:38:20 -0800105 default HW_RANDOM
Michael Bueschef5d8622006-06-26 00:25:01 -0700106 ---help---
107 This driver provides kernel-side support for the Random Number
108 Generator hardware found on the AMD Geode LX.
109
110 To compile this driver as a module, choose M here: the
111 module will be called geode-rng.
112
113 If unsure, say Y.
Michael Buesch13523362006-06-26 00:25:02 -0700114
David S. Millerce087152008-06-03 15:56:11 -0700115config HW_RANDOM_N2RNG
116 tristate "Niagara2 Random Number Generator support"
117 depends on HW_RANDOM && SPARC64
118 default HW_RANDOM
119 ---help---
120 This driver provides kernel-side support for the Random Number
121 Generator hardware found on Niagara2 cpus.
122
123 To compile this driver as a module, choose M here: the
124 module will be called n2-rng.
125
126 If unsure, say Y.
127
Michael Buesch13523362006-06-26 00:25:02 -0700128config HW_RANDOM_VIA
129 tristate "VIA HW Random Number Generator support"
Harald Weltee9736c12009-05-15 16:01:52 +1000130 depends on HW_RANDOM && X86
Jan Beulichfed806f2006-12-06 20:38:20 -0800131 default HW_RANDOM
Michael Buesch13523362006-06-26 00:25:02 -0700132 ---help---
133 This driver provides kernel-side support for the Random Number
134 Generator hardware found on VIA based motherboards.
135
136 To compile this driver as a module, choose M here: the
137 module will be called via-rng.
138
139 If unsure, say Y.
Michael Bueschd7174bc2006-06-26 00:25:02 -0700140
141config HW_RANDOM_IXP4XX
Krzysztof Hałasa553da852010-03-23 20:22:13 +0100142 tristate "Intel IXP4xx NPU HW Pseudo-Random Number Generator support"
Michael Bueschd7174bc2006-06-26 00:25:02 -0700143 depends on HW_RANDOM && ARCH_IXP4XX
Jan Beulichfed806f2006-12-06 20:38:20 -0800144 default HW_RANDOM
Michael Bueschd7174bc2006-06-26 00:25:02 -0700145 ---help---
Krzysztof Hałasa553da852010-03-23 20:22:13 +0100146 This driver provides kernel-side support for the Pseudo-Random
147 Number Generator hardware found on the Intel IXP45x/46x NPU.
Michael Bueschd7174bc2006-06-26 00:25:02 -0700148
149 To compile this driver as a module, choose M here: the
150 module will be called ixp4xx-rng.
151
152 If unsure, say Y.
Michael Bueschebc915a2006-06-26 00:25:03 -0700153
154config HW_RANDOM_OMAP
155 tristate "OMAP Random Number Generator support"
Lokesh Vutlae83872c2013-08-05 20:17:23 +0530156 depends on HW_RANDOM && (ARCH_OMAP16XX || ARCH_OMAP2PLUS)
Jan Beulichfed806f2006-12-06 20:38:20 -0800157 default HW_RANDOM
Michael Bueschebc915a2006-06-26 00:25:03 -0700158 ---help---
159 This driver provides kernel-side support for the Random Number
Lokesh Vutlae83872c2013-08-05 20:17:23 +0530160 Generator hardware found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx
161 multimedia processors.
Michael Bueschebc915a2006-06-26 00:25:03 -0700162
163 To compile this driver as a module, choose M here: the
164 module will be called omap-rng.
165
166 If unsure, say Y.
Olof Johanssonb8cb3442007-05-09 02:33:35 -0700167
Pali Rohár1c6b7c22013-09-20 15:25:06 +0200168config HW_RANDOM_OMAP3_ROM
169 tristate "OMAP3 ROM Random Number Generator support"
170 depends on HW_RANDOM && ARCH_OMAP3
171 default HW_RANDOM
172 ---help---
173 This driver provides kernel-side support for the Random Number
174 Generator hardware found on OMAP34xx processors.
175
176 To compile this driver as a module, choose M here: the
177 module will be called omap3-rom-rng.
178
179 If unsure, say Y.
180
David Daneyf7557dc2009-08-20 14:10:23 -0700181config HW_RANDOM_OCTEON
182 tristate "Octeon Random Number Generator support"
David Daney9ddebc42013-05-22 15:10:46 +0000183 depends on HW_RANDOM && CAVIUM_OCTEON_SOC
David Daneyf7557dc2009-08-20 14:10:23 -0700184 default HW_RANDOM
185 ---help---
186 This driver provides kernel-side support for the Random Number
187 Generator hardware found on Octeon processors.
188
189 To compile this driver as a module, choose M here: the
190 module will be called octeon-rng.
191
192 If unsure, say Y.
193
Olof Johanssonb8cb3442007-05-09 02:33:35 -0700194config HW_RANDOM_PASEMI
195 tristate "PA Semi HW Random Number Generator support"
196 depends on HW_RANDOM && PPC_PASEMI
197 default HW_RANDOM
198 ---help---
199 This driver provides kernel-side support for the Random Number
Olof Johansson0d08a842007-11-04 20:57:45 -0600200 Generator hardware found on PA Semi PWRficient SoCs.
Olof Johanssonb8cb3442007-05-09 02:33:35 -0700201
202 To compile this driver as a module, choose M here: the
203 module will be called pasemi-rng.
204
205 If unsure, say Y.
206
Rusty Russellf7f510e2008-05-30 15:09:44 -0500207config HW_RANDOM_VIRTIO
208 tristate "VirtIO Random Number Generator support"
209 depends on HW_RANDOM && VIRTIO
210 ---help---
211 This driver provides kernel-side support for the virtual Random Number
212 Generator hardware.
213
214 To compile this driver as a module, choose M here: the
215 module will be called virtio-rng. If unsure, say N.
Alan Carvalho de Assis45001e92009-04-02 12:38:41 -0300216
Atsushi Nemoto049a9472009-06-02 23:54:21 +0900217config HW_RANDOM_TX4939
218 tristate "TX4939 Random Number Generator support"
219 depends on HW_RANDOM && SOC_TX4939
220 default HW_RANDOM
221 ---help---
222 This driver provides kernel-side support for the Random Number
223 Generator hardware found on TX4939 SoC.
224
225 To compile this driver as a module, choose M here: the
226 module will be called tx4939-rng.
227
228 If unsure, say Y.
229
Alan Carvalho de Assis45001e92009-04-02 12:38:41 -0300230config HW_RANDOM_MXC_RNGA
231 tristate "Freescale i.MX RNGA Random Number Generator"
232 depends on HW_RANDOM && ARCH_HAS_RNGA
233 ---help---
234 This driver provides kernel-side support for the Random Number
235 Generator hardware found on Freescale i.MX processors.
236
237 To compile this driver as a module, choose M here: the
238 module will be called mxc-rnga.
239
240 If unsure, say Y.
Alessandro Rubinibc85b252009-12-19 19:45:43 +0800241
242config HW_RANDOM_NOMADIK
243 tristate "ST-Ericsson Nomadik Random Number Generator support"
Linus Walleij694e33a2012-10-18 14:01:25 +0200244 depends on HW_RANDOM && ARCH_NOMADIK
Alessandro Rubinibc85b252009-12-19 19:45:43 +0800245 ---help---
246 This driver provides kernel-side support for the Random Number
247 Generator hardware found on ST-Ericsson SoCs (8815 and 8500).
248
249 To compile this driver as a module, choose M here: the
250 module will be called nomadik-rng.
251
252 If unsure, say Y.
Jamie Iles5efb94e2011-01-23 18:58:29 +1100253
254config HW_RANDOM_PICOXCELL
255 tristate "Picochip picoXcell true random number generator support"
256 depends on HW_RANDOM && ARCH_PICOXCELL && PICOXCELL_PC3X3
257 ---help---
258 This driver provides kernel-side support for the Random Number
259 Generator hardware found on Picochip PC3x3 and later devices.
260
261 To compile this driver as a module, choose M here: the
262 module will be called picoxcell-rng.
263
264 If unsure, say Y.
Josh Boyer52527cf2011-06-27 15:34:54 +0800265
266config HW_RANDOM_PPC4XX
267 tristate "PowerPC 4xx generic true random number generator support"
268 depends on HW_RANDOM && PPC && 4xx
269 ---help---
270 This driver provides the kernel-side support for the TRNG hardware
271 found in the security function of some PowerPC 4xx SoCs.
272
273 To compile this driver as a module, choose M here: the
274 module will be called ppc4xx-rng.
275
276 If unsure, say N.
Al Virod805a782011-08-18 20:13:00 +0100277
278config UML_RANDOM
279 depends on UML
280 tristate "Hardware random number generator"
281 help
282 This option enables UML's "hardware" random number generator. It
283 attaches itself to the host's /dev/random, supplying as much entropy
284 as the host has, rather than the small amount the UML gets from its
285 own drivers. It registers itself as a standard hardware random number
286 generator, major 10, minor 183, and the canonical device name is
287 /dev/hwrng.
288 The way to make use of this is to install the rng-tools package
289 (check your distro, or download from
290 http://sourceforge.net/projects/gkernel/). rngd periodically reads
291 /dev/hwrng and injects the entropy into /dev/random.
Kent Yoder649e9ea2012-04-12 05:08:53 +0000292
293config HW_RANDOM_PSERIES
294 tristate "pSeries HW Random Number Generator support"
295 depends on HW_RANDOM && PPC64 && IBMVIO
296 default HW_RANDOM
297 ---help---
298 This driver provides kernel-side support for the Random Number
299 Generator hardware found on POWER7+ machines and above
300
301 To compile this driver as a module, choose M here: the
302 module will be called pseries-rng.
303
304 If unsure, say Y.
Jonghwa Leeb3296692012-06-29 09:43:26 +0900305
Michael Ellerman66548e42013-10-11 14:07:58 +1100306config HW_RANDOM_POWERNV
307 tristate "PowerNV Random Number Generator support"
308 depends on HW_RANDOM && PPC_POWERNV
309 default HW_RANDOM
310 ---help---
311 This is the driver for Random Number Generator hardware found
312 in POWER7+ and above machines for PowerNV platform.
313
314 To compile this driver as a module, choose M here: the
315 module will be called powernv-rng.
316
317 If unsure, say Y.
318
Jonghwa Leeb3296692012-06-29 09:43:26 +0900319config HW_RANDOM_EXYNOS
320 tristate "EXYNOS HW random number generator support"
321 depends on HW_RANDOM && HAS_IOMEM && HAVE_CLK
322 ---help---
323 This driver provides kernel-side support for the Random Number
324 Generator hardware found on EXYNOS SOCs.
325
326 To compile this driver as a module, choose M here: the
327 module will be called exynos-rng.
328
329 If unsure, say Y.
Kent Yoder578b0162012-08-08 14:18:57 -0500330
331config HW_RANDOM_TPM
332 tristate "TPM HW Random Number Generator support"
333 depends on HW_RANDOM && TCG_TPM
334 default HW_RANDOM
335 ---help---
336 This driver provides kernel-side support for the Random Number
337 Generator in the Trusted Platform Module
338
339 To compile this driver as a module, choose M here: the
340 module will be called tpm-rng.
341
342 If unsure, say Y.
Stanimir Varbanov0d289782013-10-15 17:11:18 +0300343
344config HW_RANDOM_MSM
345 tristate "Qualcomm MSM Random Number Generator support"
346 depends on HW_RANDOM && ARCH_MSM
347 ---help---
348 This driver provides kernel-side support for the Random Number
349 Generator hardware found on Qualcomm MSM SoCs.
350
351 To compile this driver as a module, choose M here. the
352 module will be called msm-rng.
353
354 If unsure, say Y.