1 # SPDX-License-Identifier: GPL-2.0-only
3 # Hardware Random Number Generator (RNG) configuration
7 tristate "Hardware Random Number Generator Core support"
10 Hardware Random Number Generator Core infrastructure.
12 To compile this driver as a module, choose M here: the
13 module will be called rng-core. This provides a device
14 that's usually called /dev/hwrng, and which exposes one
15 of possibly several hardware random number generators.
17 These hardware random number generators do feed into the
18 kernel's random number generator entropy pool.
24 config HW_RANDOM_TIMERIOMEM
25 tristate "Timer IOMEM HW Random Number Generator support"
28 This driver provides kernel-side support for a generic Random
29 Number Generator used by reading a 'dumb' iomem address that
30 is to be read no faster than, for example, once a second;
31 the default FPGA bitstream on the TS-7800 has such functionality.
33 To compile this driver as a module, choose M here: the
34 module will be called timeriomem-rng.
38 config HW_RANDOM_INTEL
39 tristate "Intel HW Random Number Generator support"
40 depends on (X86 || IA64) && PCI
43 This driver provides kernel-side support for the Random Number
44 Generator hardware found on Intel i8xx-based motherboards.
46 To compile this driver as a module, choose M here: the
47 module will be called intel-rng.
52 tristate "AMD HW Random Number Generator support"
53 depends on (X86 || PPC_MAPLE) && PCI
56 This driver provides kernel-side support for the Random Number
57 Generator hardware found on AMD 76x-based motherboards.
59 To compile this driver as a module, choose M here: the
60 module will be called amd-rng.
64 config HW_RANDOM_ATMEL
65 tristate "Atmel Random Number Generator support"
66 depends on ARCH_AT91 && HAVE_CLK && OF
69 This driver provides kernel-side support for the Random Number
70 Generator hardware found on Atmel AT91 devices.
72 To compile this driver as a module, choose M here: the
73 module will be called atmel-rng.
77 config HW_RANDOM_BCM2835
78 tristate "Broadcom BCM2835/BCM63xx Random Number Generator support"
79 depends on ARCH_BCM2835 || ARCH_BCM_NSP || ARCH_BCM_5301X || \
80 ARCH_BCM_63XX || BCM63XX || BMIPS_GENERIC
83 This driver provides kernel-side support for the Random Number
84 Generator hardware found on the Broadcom BCM2835 and BCM63xx SoCs.
86 To compile this driver as a module, choose M here: the
87 module will be called bcm2835-rng
91 config HW_RANDOM_IPROC_RNG200
92 tristate "Broadcom iProc/STB RNG200 support"
93 depends on ARCH_BCM_IPROC || ARCH_BCM2835 || ARCH_BRCMSTB
96 This driver provides kernel-side support for the RNG200
97 hardware found on the Broadcom iProc and STB SoCs.
99 To compile this driver as a module, choose M here: the
100 module will be called iproc-rng200
104 config HW_RANDOM_GEODE
105 tristate "AMD Geode HW Random Number Generator support"
106 depends on X86_32 && PCI
109 This driver provides kernel-side support for the Random Number
110 Generator hardware found on the AMD Geode LX.
112 To compile this driver as a module, choose M here: the
113 module will be called geode-rng.
117 config HW_RANDOM_N2RNG
118 tristate "Niagara2 Random Number Generator support"
122 This driver provides kernel-side support for the Random Number
123 Generator hardware found on Niagara2 cpus.
125 To compile this driver as a module, choose M here: the
126 module will be called n2-rng.
131 tristate "VIA HW Random Number Generator support"
135 This driver provides kernel-side support for the Random Number
136 Generator hardware found on VIA based motherboards.
138 To compile this driver as a module, choose M here: the
139 module will be called via-rng.
143 config HW_RANDOM_IXP4XX
144 tristate "Intel IXP4xx NPU HW Pseudo-Random Number Generator support"
145 depends on ARCH_IXP4XX
148 This driver provides kernel-side support for the Pseudo-Random
149 Number Generator hardware found on the Intel IXP45x/46x NPU.
151 To compile this driver as a module, choose M here: the
152 module will be called ixp4xx-rng.
156 config HW_RANDOM_OMAP
157 tristate "OMAP Random Number Generator support"
158 depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS || ARCH_MVEBU
161 This driver provides kernel-side support for the Random Number
162 Generator hardware found on OMAP16xx, OMAP2/3/4/5, AM33xx/AM43xx
163 multimedia processors, and Marvell Armada 7k/8k SoCs.
165 To compile this driver as a module, choose M here: the
166 module will be called omap-rng.
170 config HW_RANDOM_OMAP3_ROM
171 tristate "OMAP3 ROM Random Number Generator support"
172 depends on ARCH_OMAP3
175 This driver provides kernel-side support for the Random Number
176 Generator hardware found on OMAP34xx processors.
178 To compile this driver as a module, choose M here: the
179 module will be called omap3-rom-rng.
183 config HW_RANDOM_OCTEON
184 tristate "Octeon Random Number Generator support"
185 depends on CAVIUM_OCTEON_SOC
188 This driver provides kernel-side support for the Random Number
189 Generator hardware found on Octeon processors.
191 To compile this driver as a module, choose M here: the
192 module will be called octeon-rng.
196 config HW_RANDOM_PASEMI
197 tristate "PA Semi HW Random Number Generator support"
198 depends on PPC_PASEMI
201 This driver provides kernel-side support for the Random Number
202 Generator hardware found on PA Semi PWRficient SoCs.
204 To compile this driver as a module, choose M here: the
205 module will be called pasemi-rng.
209 config HW_RANDOM_VIRTIO
210 tristate "VirtIO Random Number Generator support"
213 This driver provides kernel-side support for the virtual Random Number
216 To compile this driver as a module, choose M here: the
217 module will be called virtio-rng. If unsure, say N.
219 config HW_RANDOM_TX4939
220 tristate "TX4939 Random Number Generator support"
221 depends on SOC_TX4939
224 This driver provides kernel-side support for the Random Number
225 Generator hardware found on TX4939 SoC.
227 To compile this driver as a module, choose M here: the
228 module will be called tx4939-rng.
232 config HW_RANDOM_MXC_RNGA
233 tristate "Freescale i.MX RNGA Random Number Generator"
237 This driver provides kernel-side support for the Random Number
238 Generator hardware found on Freescale i.MX processors.
240 To compile this driver as a module, choose M here: the
241 module will be called mxc-rnga.
245 config HW_RANDOM_IMX_RNGC
246 tristate "Freescale i.MX RNGC Random Number Generator"
250 This driver provides kernel-side support for the Random Number
251 Generator Version C hardware found on some Freescale i.MX
252 processors. Version B is also supported by this driver.
254 To compile this driver as a module, choose M here: the
255 module will be called imx-rngc.
259 config HW_RANDOM_NOMADIK
260 tristate "ST-Ericsson Nomadik Random Number Generator support"
261 depends on ARCH_NOMADIK
264 This driver provides kernel-side support for the Random Number
265 Generator hardware found on ST-Ericsson SoCs (8815 and 8500).
267 To compile this driver as a module, choose M here: the
268 module will be called nomadik-rng.
272 config HW_RANDOM_PSERIES
273 tristate "pSeries HW Random Number Generator support"
274 depends on PPC64 && IBMVIO
277 This driver provides kernel-side support for the Random Number
278 Generator hardware found on POWER7+ machines and above
280 To compile this driver as a module, choose M here: the
281 module will be called pseries-rng.
285 config HW_RANDOM_POWERNV
286 tristate "PowerNV Random Number Generator support"
287 depends on PPC_POWERNV
290 This is the driver for Random Number Generator hardware found
291 in POWER7+ and above machines for PowerNV platform.
293 To compile this driver as a module, choose M here: the
294 module will be called powernv-rng.
298 config HW_RANDOM_HISI
299 tristate "Hisilicon Random Number Generator support"
300 depends on HW_RANDOM && ARCH_HISI
303 This driver provides kernel-side support for the Random Number
304 Generator hardware found on Hisilicon Hip04 and Hip05 SoC.
306 To compile this driver as a module, choose M here: the
307 module will be called hisi-rng.
311 config HW_RANDOM_HISI_V2
312 tristate "HiSilicon True Random Number Generator V2 support"
313 depends on HW_RANDOM && ARM64 && ACPI
316 This driver provides kernel-side support for the True Random Number
317 Generator V2 hardware found on HiSilicon Hi1620 SoC.
319 To compile this driver as a module, choose M here: the
320 module will be called hisi-trng-v2.
325 tristate "ST Microelectronics HW Random Number Generator support"
326 depends on HW_RANDOM && ARCH_STI
328 This driver provides kernel-side support for the Random Number
329 Generator hardware found on STi series of SoCs.
331 To compile this driver as a module, choose M here: the
332 module will be called st-rng.
334 config HW_RANDOM_XGENE
335 tristate "APM X-Gene True Random Number Generator (TRNG) support"
336 depends on HW_RANDOM && ARCH_XGENE
339 This driver provides kernel-side support for the Random Number
340 Generator hardware found on APM X-Gene SoC.
342 To compile this driver as a module, choose M here: the
343 module will be called xgene_rng.
347 config HW_RANDOM_STM32
348 tristate "STMicroelectronics STM32 random number generator"
349 depends on HW_RANDOM && (ARCH_STM32 || COMPILE_TEST)
353 This driver provides kernel-side support for the Random Number
354 Generator hardware found on STM32 microcontrollers.
356 To compile this driver as a module, choose M here: the
357 module will be called stm32-rng.
361 config HW_RANDOM_PIC32
362 tristate "Microchip PIC32 Random Number Generator support"
363 depends on HW_RANDOM && MACH_PIC32
366 This driver provides kernel-side support for the Random Number
367 Generator hardware found on a PIC32.
369 To compile this driver as a module, choose M here. the
370 module will be called pic32-rng.
374 config HW_RANDOM_MESON
375 tristate "Amlogic Meson Random Number Generator support"
377 depends on ARCH_MESON || COMPILE_TEST
380 This driver provides kernel-side support for the Random Number
381 Generator hardware found on Amlogic Meson SoCs.
383 To compile this driver as a module, choose M here. the
384 module will be called meson-rng.
388 config HW_RANDOM_CAVIUM
389 tristate "Cavium ThunderX Random Number Generator support"
390 depends on HW_RANDOM && PCI && (ARM64 || (COMPILE_TEST && 64BIT))
393 This driver provides kernel-side support for the Random Number
394 Generator hardware found on Cavium SoCs.
396 To compile this driver as a module, choose M here: the
397 module will be called cavium_rng.
402 tristate "Mediatek Random Number Generator support"
404 depends on ARCH_MEDIATEK || COMPILE_TEST
407 This driver provides kernel-side support for the Random Number
408 Generator hardware found on Mediatek SoCs.
410 To compile this driver as a module, choose M here. the
411 module will be called mtk-rng.
415 config HW_RANDOM_S390
416 tristate "S390 True Random Number Generator support"
420 This driver provides kernel-side support for the True
421 Random Number Generator available as CPACF extension
422 on modern s390 hardware platforms.
424 To compile this driver as a module, choose M here: the
425 module will be called s390-trng.
429 config HW_RANDOM_EXYNOS
430 tristate "Samsung Exynos True Random Number Generator support"
431 depends on ARCH_EXYNOS || COMPILE_TEST
434 This driver provides support for the True Random Number
435 Generator available in Exynos SoCs.
437 To compile this driver as a module, choose M here: the module
438 will be called exynos-trng.
442 config HW_RANDOM_OPTEE
443 tristate "OP-TEE based Random Number Generator support"
447 This driver provides support for OP-TEE based Random Number
448 Generator on ARM SoCs where hardware entropy sources are not
449 accessible to normal world (Linux).
451 To compile this driver as a module, choose M here: the module
452 will be called optee-rng.
456 config HW_RANDOM_NPCM
457 tristate "NPCM Random Number Generator support"
458 depends on ARCH_NPCM || COMPILE_TEST
461 This driver provides support for the Random Number
462 Generator hardware available in Nuvoton NPCM SoCs.
464 To compile this driver as a module, choose M here: the
465 module will be called npcm-rng.
473 tristate "Hardware random number generator"
475 This option enables UML's "hardware" random number generator. It
476 attaches itself to the host's /dev/random, supplying as much entropy
477 as the host has, rather than the small amount the UML gets from its
478 own drivers. It registers itself as a standard hardware random number
479 generator, major 10, minor 183, and the canonical device name is
481 The way to make use of this is to install the rng-tools package
482 (check your distro, or download from
483 http://sourceforge.net/projects/gkernel/). rngd periodically reads
484 /dev/hwrng and injects the entropy into /dev/random.
486 config HW_RANDOM_KEYSTONE
487 depends on ARCH_KEYSTONE || COMPILE_TEST
489 tristate "TI Keystone NETCP SA Hardware random number generator"
491 This option enables Keystone's hardware random generator.