blob: b2402eb076c787eafd111d643982f0a6422bb41a [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
Peter Korsgaard677d3e22011-10-06 19:56:30 +020066 default HW_RANDOM
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
Michael Bueschef5d8622006-06-26 00:25:01 -070076config HW_RANDOM_GEODE
77 tristate "AMD Geode HW Random Number Generator support"
Yinghai Lue199ece2007-07-21 17:11:22 +020078 depends on HW_RANDOM && X86_32 && PCI
Jan Beulichfed806f2006-12-06 20:38:20 -080079 default HW_RANDOM
Michael Bueschef5d8622006-06-26 00:25:01 -070080 ---help---
81 This driver provides kernel-side support for the Random Number
82 Generator hardware found on the AMD Geode LX.
83
84 To compile this driver as a module, choose M here: the
85 module will be called geode-rng.
86
87 If unsure, say Y.
Michael Buesch13523362006-06-26 00:25:02 -070088
David S. Millerce087152008-06-03 15:56:11 -070089config HW_RANDOM_N2RNG
90 tristate "Niagara2 Random Number Generator support"
91 depends on HW_RANDOM && SPARC64
92 default HW_RANDOM
93 ---help---
94 This driver provides kernel-side support for the Random Number
95 Generator hardware found on Niagara2 cpus.
96
97 To compile this driver as a module, choose M here: the
98 module will be called n2-rng.
99
100 If unsure, say Y.
101
Michael Buesch13523362006-06-26 00:25:02 -0700102config HW_RANDOM_VIA
103 tristate "VIA HW Random Number Generator support"
Harald Weltee9736c12009-05-15 16:01:52 +1000104 depends on HW_RANDOM && X86
Jan Beulichfed806f2006-12-06 20:38:20 -0800105 default HW_RANDOM
Michael Buesch13523362006-06-26 00:25:02 -0700106 ---help---
107 This driver provides kernel-side support for the Random Number
108 Generator hardware found on VIA based motherboards.
109
110 To compile this driver as a module, choose M here: the
111 module will be called via-rng.
112
113 If unsure, say Y.
Michael Bueschd7174bc2006-06-26 00:25:02 -0700114
115config HW_RANDOM_IXP4XX
116 tristate "Intel IXP4xx NPU HW Random Number Generator support"
117 depends on HW_RANDOM && ARCH_IXP4XX
Jan Beulichfed806f2006-12-06 20:38:20 -0800118 default HW_RANDOM
Michael Bueschd7174bc2006-06-26 00:25:02 -0700119 ---help---
120 This driver provides kernel-side support for the Random
121 Number Generator hardware found on the Intel IXP4xx NPU.
122
123 To compile this driver as a module, choose M here: the
124 module will be called ixp4xx-rng.
125
126 If unsure, say Y.
Michael Bueschebc915a2006-06-26 00:25:03 -0700127
128config HW_RANDOM_OMAP
129 tristate "OMAP Random Number Generator support"
Tony Lindgren088ef952010-02-12 12:26:47 -0800130 depends on HW_RANDOM && (ARCH_OMAP16XX || ARCH_OMAP2)
Jan Beulichfed806f2006-12-06 20:38:20 -0800131 default HW_RANDOM
Michael Bueschebc915a2006-06-26 00:25:03 -0700132 ---help---
133 This driver provides kernel-side support for the Random Number
134 Generator hardware found on OMAP16xx and OMAP24xx multimedia
135 processors.
136
137 To compile this driver as a module, choose M here: the
138 module will be called omap-rng.
139
140 If unsure, say Y.
Olof Johanssonb8cb3442007-05-09 02:33:35 -0700141
David Daneyf7557dc2009-08-20 14:10:23 -0700142config HW_RANDOM_OCTEON
143 tristate "Octeon Random Number Generator support"
144 depends on HW_RANDOM && CPU_CAVIUM_OCTEON
145 default HW_RANDOM
146 ---help---
147 This driver provides kernel-side support for the Random Number
148 Generator hardware found on Octeon processors.
149
150 To compile this driver as a module, choose M here: the
151 module will be called octeon-rng.
152
153 If unsure, say Y.
154
Olof Johanssonb8cb3442007-05-09 02:33:35 -0700155config HW_RANDOM_PASEMI
156 tristate "PA Semi HW Random Number Generator support"
157 depends on HW_RANDOM && PPC_PASEMI
158 default HW_RANDOM
159 ---help---
160 This driver provides kernel-side support for the Random Number
Olof Johansson0d08a842007-11-04 20:57:45 -0600161 Generator hardware found on PA Semi PWRficient SoCs.
Olof Johanssonb8cb3442007-05-09 02:33:35 -0700162
163 To compile this driver as a module, choose M here: the
164 module will be called pasemi-rng.
165
166 If unsure, say Y.
167
Rusty Russellf7f510e2008-05-30 15:09:44 -0500168config HW_RANDOM_VIRTIO
169 tristate "VirtIO Random Number Generator support"
170 depends on HW_RANDOM && VIRTIO
171 ---help---
172 This driver provides kernel-side support for the virtual Random Number
173 Generator hardware.
174
175 To compile this driver as a module, choose M here: the
176 module will be called virtio-rng. If unsure, say N.
Alan Carvalho de Assis45001e92009-04-02 12:38:41 -0300177
Atsushi Nemoto049a9472009-06-02 23:54:21 +0900178config HW_RANDOM_TX4939
179 tristate "TX4939 Random Number Generator support"
180 depends on HW_RANDOM && SOC_TX4939
181 default HW_RANDOM
182 ---help---
183 This driver provides kernel-side support for the Random Number
184 Generator hardware found on TX4939 SoC.
185
186 To compile this driver as a module, choose M here: the
187 module will be called tx4939-rng.
188
189 If unsure, say Y.
190
Alan Carvalho de Assis45001e92009-04-02 12:38:41 -0300191config HW_RANDOM_MXC_RNGA
192 tristate "Freescale i.MX RNGA Random Number Generator"
193 depends on HW_RANDOM && ARCH_HAS_RNGA
194 ---help---
195 This driver provides kernel-side support for the Random Number
196 Generator hardware found on Freescale i.MX processors.
197
198 To compile this driver as a module, choose M here: the
199 module will be called mxc-rnga.
200
201 If unsure, say Y.
Alessandro Rubinibc85b252009-12-19 19:45:43 +0800202
203config HW_RANDOM_NOMADIK
204 tristate "ST-Ericsson Nomadik Random Number Generator support"
205 depends on HW_RANDOM && PLAT_NOMADIK
206 ---help---
207 This driver provides kernel-side support for the Random Number
208 Generator hardware found on ST-Ericsson SoCs (8815 and 8500).
209
210 To compile this driver as a module, choose M here: the
211 module will be called nomadik-rng.
212
213 If unsure, say Y.
Jamie Iles5efb94e2011-01-23 18:58:29 +1100214
215config HW_RANDOM_PICOXCELL
216 tristate "Picochip picoXcell true random number generator support"
217 depends on HW_RANDOM && ARCH_PICOXCELL && PICOXCELL_PC3X3
218 ---help---
219 This driver provides kernel-side support for the Random Number
220 Generator hardware found on Picochip PC3x3 and later devices.
221
222 To compile this driver as a module, choose M here: the
223 module will be called picoxcell-rng.
224
225 If unsure, say Y.
Josh Boyer52527cf2011-06-27 15:34:54 +0800226
227config HW_RANDOM_PPC4XX
228 tristate "PowerPC 4xx generic true random number generator support"
229 depends on HW_RANDOM && PPC && 4xx
230 ---help---
231 This driver provides the kernel-side support for the TRNG hardware
232 found in the security function of some PowerPC 4xx SoCs.
233
234 To compile this driver as a module, choose M here: the
235 module will be called ppc4xx-rng.
236
237 If unsure, say N.
Al Virod805a782011-08-18 20:13:00 +0100238
239config UML_RANDOM
240 depends on UML
241 tristate "Hardware random number generator"
242 help
243 This option enables UML's "hardware" random number generator. It
244 attaches itself to the host's /dev/random, supplying as much entropy
245 as the host has, rather than the small amount the UML gets from its
246 own drivers. It registers itself as a standard hardware random number
247 generator, major 10, minor 183, and the canonical device name is
248 /dev/hwrng.
249 The way to make use of this is to install the rng-tools package
250 (check your distro, or download from
251 http://sourceforge.net/projects/gkernel/). rngd periodically reads
252 /dev/hwrng and injects the entropy into /dev/random.