2 # Hardware Random Number Generator (RNG) configuration
6 tristate "Hardware Random Number Generator Core support"
9 Hardware Random Number Generator Core infrastructure.
11 To compile this driver as a module, choose M here: the
12 module will be called rng-core. This provides a device
13 that's usually called /dev/hwrng, and which exposes one
14 of possibly several hardware random number generators.
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
25 config HW_RANDOM_TIMERIOMEM
26 tristate "Timer IOMEM HW Random Number Generator support"
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.
34 To compile this driver as a module, choose M here: the
35 module will be called timeriomem-rng.
39 config HW_RANDOM_INTEL
40 tristate "Intel HW Random Number Generator support"
41 depends on (X86 || IA64) && PCI
44 This driver provides kernel-side support for the Random Number
45 Generator hardware found on Intel i8xx-based motherboards.
47 To compile this driver as a module, choose M here: the
48 module will be called intel-rng.
53 tristate "AMD HW Random Number Generator support"
54 depends on (X86 || PPC_MAPLE) && PCI
57 This driver provides kernel-side support for the Random Number
58 Generator hardware found on AMD 76x-based motherboards.
60 To compile this driver as a module, choose M here: the
61 module will be called amd-rng.
65 config HW_RANDOM_ATMEL
66 tristate "Atmel Random Number Generator support"
67 depends on ARCH_AT91 && HAVE_CLK && OF
70 This driver provides kernel-side support for the Random Number
71 Generator hardware found on Atmel AT91 devices.
73 To compile this driver as a module, choose M here: the
74 module will be called atmel-rng.
78 config HW_RANDOM_BCM63XX
79 tristate "Broadcom BCM63xx Random Number Generator support"
80 depends on BCM63XX || BMIPS_GENERIC
83 This driver provides kernel-side support for the Random Number
84 Generator hardware found on the Broadcom BCM63xx SoCs.
86 To compile this driver as a module, choose M here: the
87 module will be called bcm63xx-rng
91 config HW_RANDOM_BCM2835
92 tristate "Broadcom BCM2835 Random Number Generator support"
93 depends on ARCH_BCM2835 || ARCH_BCM_NSP || ARCH_BCM_5301X
96 This driver provides kernel-side support for the Random Number
97 Generator hardware found on the Broadcom BCM2835 SoCs.
99 To compile this driver as a module, choose M here: the
100 module will be called bcm2835-rng
104 config HW_RANDOM_IPROC_RNG200
105 tristate "Broadcom iProc RNG200 support"
106 depends on ARCH_BCM_IPROC
109 This driver provides kernel-side support for the RNG200
110 hardware found on the Broadcom iProc SoCs.
112 To compile this driver as a module, choose M here: the
113 module will be called iproc-rng200
117 config HW_RANDOM_GEODE
118 tristate "AMD Geode HW Random Number Generator support"
119 depends on X86_32 && PCI
122 This driver provides kernel-side support for the Random Number
123 Generator hardware found on the AMD Geode LX.
125 To compile this driver as a module, choose M here: the
126 module will be called geode-rng.
130 config HW_RANDOM_N2RNG
131 tristate "Niagara2 Random Number Generator support"
135 This driver provides kernel-side support for the Random Number
136 Generator hardware found on Niagara2 cpus.
138 To compile this driver as a module, choose M here: the
139 module will be called n2-rng.
144 tristate "VIA HW Random Number Generator support"
148 This driver provides kernel-side support for the Random Number
149 Generator hardware found on VIA based motherboards.
151 To compile this driver as a module, choose M here: the
152 module will be called via-rng.
156 config HW_RANDOM_IXP4XX
157 tristate "Intel IXP4xx NPU HW Pseudo-Random Number Generator support"
158 depends on ARCH_IXP4XX
161 This driver provides kernel-side support for the Pseudo-Random
162 Number Generator hardware found on the Intel IXP45x/46x NPU.
164 To compile this driver as a module, choose M here: the
165 module will be called ixp4xx-rng.
169 config HW_RANDOM_OMAP
170 tristate "OMAP Random Number Generator support"
171 depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS || ARCH_MVEBU
174 This driver provides kernel-side support for the Random Number
175 Generator hardware found on OMAP16xx, OMAP2/3/4/5, AM33xx/AM43xx
176 multimedia processors, and Marvell Armada 7k/8k SoCs.
178 To compile this driver as a module, choose M here: the
179 module will be called omap-rng.
183 config HW_RANDOM_OMAP3_ROM
184 tristate "OMAP3 ROM Random Number Generator support"
185 depends on ARCH_OMAP3
188 This driver provides kernel-side support for the Random Number
189 Generator hardware found on OMAP34xx processors.
191 To compile this driver as a module, choose M here: the
192 module will be called omap3-rom-rng.
196 config HW_RANDOM_OCTEON
197 tristate "Octeon Random Number Generator support"
198 depends on CAVIUM_OCTEON_SOC
201 This driver provides kernel-side support for the Random Number
202 Generator hardware found on Octeon processors.
204 To compile this driver as a module, choose M here: the
205 module will be called octeon-rng.
209 config HW_RANDOM_PASEMI
210 tristate "PA Semi HW Random Number Generator support"
211 depends on PPC_PASEMI
214 This driver provides kernel-side support for the Random Number
215 Generator hardware found on PA Semi PWRficient SoCs.
217 To compile this driver as a module, choose M here: the
218 module will be called pasemi-rng.
222 config HW_RANDOM_VIRTIO
223 tristate "VirtIO Random Number Generator support"
226 This driver provides kernel-side support for the virtual Random Number
229 To compile this driver as a module, choose M here: the
230 module will be called virtio-rng. If unsure, say N.
232 config HW_RANDOM_TX4939
233 tristate "TX4939 Random Number Generator support"
234 depends on SOC_TX4939
237 This driver provides kernel-side support for the Random Number
238 Generator hardware found on TX4939 SoC.
240 To compile this driver as a module, choose M here: the
241 module will be called tx4939-rng.
245 config HW_RANDOM_MXC_RNGA
246 tristate "Freescale i.MX RNGA Random Number Generator"
250 This driver provides kernel-side support for the Random Number
251 Generator hardware found on Freescale i.MX processors.
253 To compile this driver as a module, choose M here: the
254 module will be called mxc-rnga.
258 config HW_RANDOM_NOMADIK
259 tristate "ST-Ericsson Nomadik Random Number Generator support"
260 depends on ARCH_NOMADIK
263 This driver provides kernel-side support for the Random Number
264 Generator hardware found on ST-Ericsson SoCs (8815 and 8500).
266 To compile this driver as a module, choose M here: the
267 module will be called nomadik-rng.
271 config HW_RANDOM_PSERIES
272 tristate "pSeries HW Random Number Generator support"
273 depends on PPC64 && IBMVIO
276 This driver provides kernel-side support for the Random Number
277 Generator hardware found on POWER7+ machines and above
279 To compile this driver as a module, choose M here: the
280 module will be called pseries-rng.
284 config HW_RANDOM_POWERNV
285 tristate "PowerNV Random Number Generator support"
286 depends on PPC_POWERNV
289 This is the driver for Random Number Generator hardware found
290 in POWER7+ and above machines for PowerNV platform.
292 To compile this driver as a module, choose M here: the
293 module will be called powernv-rng.
298 tristate "TPM HW Random Number Generator support"
302 This driver provides kernel-side support for the Random Number
303 Generator in the Trusted Platform Module
305 To compile this driver as a module, choose M here: the
306 module will be called tpm-rng.
310 config HW_RANDOM_HISI
311 tristate "Hisilicon Random Number Generator support"
312 depends on HW_RANDOM && ARCH_HISI
315 This driver provides kernel-side support for the Random Number
316 Generator hardware found on Hisilicon Hip04 and Hip05 SoC.
318 To compile this driver as a module, choose M here: the
319 module will be called hisi-rng.
324 tristate "Qualcomm SoCs Random Number Generator support"
325 depends on HW_RANDOM && ARCH_QCOM
328 This driver provides kernel-side support for the Random Number
329 Generator hardware found on Qualcomm SoCs.
331 To compile this driver as a module, choose M here. the
332 module will be called msm-rng.
337 tristate "ST Microelectronics HW Random Number Generator support"
338 depends on HW_RANDOM && ARCH_STI
340 This driver provides kernel-side support for the Random Number
341 Generator hardware found on STi series of SoCs.
343 To compile this driver as a module, choose M here: the
344 module will be called st-rng.
346 config HW_RANDOM_XGENE
347 tristate "APM X-Gene True Random Number Generator (TRNG) support"
348 depends on HW_RANDOM && ARCH_XGENE
351 This driver provides kernel-side support for the Random Number
352 Generator hardware found on APM X-Gene SoC.
354 To compile this driver as a module, choose M here: the
355 module will be called xgene_rng.
359 config HW_RANDOM_STM32
360 tristate "STMicroelectronics STM32 random number generator"
361 depends on HW_RANDOM && (ARCH_STM32 || COMPILE_TEST)
364 This driver provides kernel-side support for the Random Number
365 Generator hardware found on STM32 microcontrollers.
367 To compile this driver as a module, choose M here: the
368 module will be called stm32-rng.
372 config HW_RANDOM_PIC32
373 tristate "Microchip PIC32 Random Number Generator support"
374 depends on HW_RANDOM && MACH_PIC32
377 This driver provides kernel-side support for the Random Number
378 Generator hardware found on a PIC32.
380 To compile this driver as a module, choose M here. the
381 module will be called pic32-rng.
385 config HW_RANDOM_MESON
386 tristate "Amlogic Meson Random Number Generator support"
388 depends on ARCH_MESON || COMPILE_TEST
391 This driver provides kernel-side support for the Random Number
392 Generator hardware found on Amlogic Meson SoCs.
394 To compile this driver as a module, choose M here. the
395 module will be called meson-rng.
399 config HW_RANDOM_CAVIUM
400 tristate "Cavium ThunderX Random Number Generator support"
401 depends on HW_RANDOM && PCI && (ARM64 || (COMPILE_TEST && 64BIT))
404 This driver provides kernel-side support for the Random Number
405 Generator hardware found on Cavium SoCs.
407 To compile this driver as a module, choose M here: the
408 module will be called cavium_rng.
413 tristate "Mediatek Random Number Generator support"
415 depends on ARCH_MEDIATEK || COMPILE_TEST
418 This driver provides kernel-side support for the Random Number
419 Generator hardware found on Mediatek SoCs.
421 To compile this driver as a module, choose M here. the
422 module will be called mtk-rng.
426 config HW_RANDOM_S390
427 tristate "S390 True Random Number Generator support"
431 This driver provides kernel-side support for the True
432 Random Number Generator available as CPACF extension
433 on modern s390 hardware platforms.
435 To compile this driver as a module, choose M here: the
436 module will be called s390-trng.
444 tristate "Hardware random number generator"
446 This option enables UML's "hardware" random number generator. It
447 attaches itself to the host's /dev/random, supplying as much entropy
448 as the host has, rather than the small amount the UML gets from its
449 own drivers. It registers itself as a standard hardware random number
450 generator, major 10, minor 183, and the canonical device name is
452 The way to make use of this is to install the rng-tools package
453 (check your distro, or download from
454 http://sourceforge.net/projects/gkernel/). rngd periodically reads
455 /dev/hwrng and injects the entropy into /dev/random.