#
# Hardware Random Number Generator (RNG) configuration
#
menuconfig [31mCONFIG_HW_RANDOM[0m
tristate "Hardware Random Number Generator Core support"
default m
---help---
Hardware Random Number Generator Core infrastructure.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called rng-core. This provides a device
that's usually called /dev/hwrng, and which exposes one
of possibly several hardware random number generators.
These hardware random number generators do not feed directly
into the kernel's random number generator. That is usually
handled by the "rngd" daemon. Documentation/hw_random.txt
has more information.
If unsure, say Y.
if [31mCONFIG_HW_RANDOM[0m
config [31mCONFIG_HW_RANDOM_TIMERIOMEM[0m
tristate "Timer IOMEM HW Random Number Generator support"
depends on [31mCONFIG_HAS_IOMEM[0m
---help---
This driver provides kernel-side support for a generic Random
Number Generator used by reading a 'dumb' iomem address that
is to be read no faster than, for example, once a second;
the default [31mCONFIG_FPGA[0m bitstream on the TS-7800 has such functionality.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called timeriomem-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_INTEL[0m
tristate "Intel HW Random Number Generator support"
depends on ([31mCONFIG_X86[0m || [31mCONFIG_IA64[0m) && [31mCONFIG_PCI[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on Intel i8xx-based motherboards.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called intel-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_AMD[0m
tristate "AMD HW Random Number Generator support"
depends on ([31mCONFIG_X86[0m || [31mCONFIG_PPC_MAPLE[0m) && [31mCONFIG_PCI[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on AMD 76x-based motherboards.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called amd-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_ATMEL[0m
tristate "Atmel Random Number Generator support"
depends on [31mCONFIG_ARCH_AT91[0m && [31mCONFIG_HAVE_CLK[0m && [31mCONFIG_OF[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on Atmel AT91 devices.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called atmel-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_BCM63XX[0m
tristate "Broadcom BCM63xx Random Number Generator support"
depends on [31mCONFIG_BCM63XX[0m || [31mCONFIG_BMIPS_GENERIC[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on the Broadcom BCM63xx SoCs.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called bcm63xx-rng
If unusure, say Y.
config [31mCONFIG_HW_RANDOM_BCM2835[0m
tristate "Broadcom BCM2835 Random Number Generator support"
depends on [31mCONFIG_ARCH_BCM2835[0m || [31mCONFIG_ARCH_BCM_NSP[0m || [31mCONFIG_ARCH_BCM_5301X[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on the Broadcom BCM2835 SoCs.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called bcm2835-rng
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_IPROC_RNG200[0m
tristate "Broadcom iProc RNG200 support"
depends on [31mCONFIG_ARCH_BCM_IPROC[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the RNG200
hardware found on the Broadcom iProc SoCs.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called iproc-rng200
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_GEODE[0m
tristate "AMD Geode HW Random Number Generator support"
depends on [31mCONFIG_X86_32[0m && [31mCONFIG_PCI[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on the AMD Geode LX.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called geode-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_N2RNG[0m
tristate "Niagara2 Random Number Generator support"
depends on [31mCONFIG_SPARC64[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on Niagara2 cpus.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called n2-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_VIA[0m
tristate "VIA HW Random Number Generator support"
depends on [31mCONFIG_X86[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on VIA based motherboards.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called via-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_IXP4XX[0m
tristate "Intel IXP4xx NPU HW Pseudo-Random Number Generator support"
depends on [31mCONFIG_ARCH_IXP4XX[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Pseudo-Random
Number Generator hardware found on the Intel IXP45x/46x NPU.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called ixp4xx-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_OMAP[0m
tristate "OMAP Random Number Generator support"
depends on [31mCONFIG_ARCH_OMAP16XX[0m || [31mCONFIG_ARCH_OMAP2PLUS[0m || [31mCONFIG_ARCH_MVEBU[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx
multimedia processors.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called omap-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_OMAP3_ROM[0m
tristate "OMAP3 ROM Random Number Generator support"
depends on [31mCONFIG_ARCH_OMAP3[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on OMAP34xx processors.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called omap3-rom-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_OCTEON[0m
tristate "Octeon Random Number Generator support"
depends on [31mCONFIG_CAVIUM_OCTEON_SOC[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on Octeon processors.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called octeon-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_PASEMI[0m
tristate "PA Semi HW Random Number Generator support"
depends on [31mCONFIG_PPC_PASEMI[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on PA Semi PWRficient SoCs.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called pasemi-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_VIRTIO[0m
tristate "VirtIO Random Number Generator support"
depends on [31mCONFIG_VIRTIO[0m
---help---
This driver provides kernel-side support for the virtual Random Number
Generator hardware.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called virtio-rng. If unsure, say N.
config [31mCONFIG_HW_RANDOM_TX4939[0m
tristate "TX4939 Random Number Generator support"
depends on [31mCONFIG_SOC_TX4939[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on TX4939 SoC.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called tx4939-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_MXC_RNGA[0m
tristate "Freescale i.MX RNGA Random Number Generator"
depends on [31mCONFIG_SOC_IMX31[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on Freescale i.MX processors.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called mxc-rnga.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_NOMADIK[0m
tristate "ST-Ericsson Nomadik Random Number Generator support"
depends on [31mCONFIG_ARCH_NOMADIK[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on ST-Ericsson SoCs (8815 and 8500).
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called nomadik-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_PSERIES[0m
tristate "pSeries HW Random Number Generator support"
depends on [31mCONFIG_PPC64[0m && [31mCONFIG_IBMVIO[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on POWER7+ machines and above
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called pseries-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_POWERNV[0m
tristate "PowerNV Random Number Generator support"
depends on [31mCONFIG_PPC_POWERNV[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This is the driver for Random Number Generator hardware found
in POWER7+ and above machines for PowerNV platform.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called powernv-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_EXYNOS[0m
tristate "EXYNOS HW random number generator support"
depends on [31mCONFIG_ARCH_EXYNOS[0m || [31mCONFIG_COMPILE_TEST[0m
depends on [31mCONFIG_HAS_IOMEM[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on EXYNOS SOCs.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called exynos-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_TPM[0m
tristate "TPM HW Random Number Generator support"
depends on [31mCONFIG_TCG_TPM[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator in the Trusted Platform Module
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called tpm-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_HISI[0m
tristate "Hisilicon Random Number Generator support"
depends on [31mCONFIG_HW_RANDOM[0m && [31mCONFIG_ARCH_HISI[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on Hisilicon Hip04 and Hip05 SoC.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called hisi-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_MSM[0m
tristate "Qualcomm SoCs Random Number Generator support"
depends on [31mCONFIG_HW_RANDOM[0m && [31mCONFIG_ARCH_QCOM[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on Qualcomm SoCs.
To compile this driver as a module, choose [31mCONFIG_M[0m here. the
module will be called msm-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_ST[0m
tristate "ST Microelectronics HW Random Number Generator support"
depends on [31mCONFIG_HW_RANDOM[0m && [31mCONFIG_ARCH_STI[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on STi series of SoCs.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called st-rng.
config [31mCONFIG_HW_RANDOM_XGENE[0m
tristate "APM X-Gene True Random Number Generator (TRNG) support"
depends on [31mCONFIG_HW_RANDOM[0m && [31mCONFIG_ARCH_XGENE[0m
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on [31mCONFIG_APM[0m X-Gene SoC.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called xgene_rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_STM32[0m
tristate "STMicroelectronics STM32 random number generator"
depends on [31mCONFIG_HW_RANDOM[0m && ([31mCONFIG_ARCH_STM32[0m || [31mCONFIG_COMPILE_TEST[0m)
depends on [31mCONFIG_HAS_IOMEM[0m
help
This driver provides kernel-side support for the Random Number
Generator hardware found on STM32 microcontrollers.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called stm32-rng.
If unsure, say N.
config [31mCONFIG_HW_RANDOM_PIC32[0m
tristate "Microchip PIC32 Random Number Generator support"
depends on [31mCONFIG_HW_RANDOM[0m && [31mCONFIG_MACH_PIC32[0m
default y
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on a PIC32.
To compile this driver as a module, choose [31mCONFIG_M[0m here. the
module will be called pic32-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_MESON[0m
tristate "Amlogic Meson Random Number Generator support"
depends on [31mCONFIG_HW_RANDOM[0m
depends on [31mCONFIG_ARCH_MESON[0m || [31mCONFIG_COMPILE_TEST[0m
default y
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on Amlogic Meson SoCs.
To compile this driver as a module, choose [31mCONFIG_M[0m here. the
module will be called meson-rng.
If unsure, say Y.
config [31mCONFIG_HW_RANDOM_CAVIUM[0m
tristate "Cavium ThunderX Random Number Generator support"
depends on [31mCONFIG_HW_RANDOM[0m && [31mCONFIG_PCI[0m && ([31mCONFIG_ARM64[0m || ([31mCONFIG_COMPILE_TEST[0m && [31mCONFIG_64BIT[0m))
default [31mCONFIG_HW_RANDOM[0m
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on Cavium SoCs.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called cavium_rng.
If unsure, say Y.
endif # [31mCONFIG_HW_RANDOM[0m
config [31mCONFIG_UML_RANDOM[0m
depends on [31mCONFIG_UML[0m
tristate "Hardware random number generator"
help
This option enables [31mCONFIG_UML[0m's "hardware" random number generator. It
attaches itself to the host's /dev/random, supplying as much entropy
as the host has, rather than the small amount the [31mCONFIG_UML[0m gets from its
own drivers. It registers itself as a standard hardware random number
generator, major 10, minor 183, and the canonical device name is
/dev/hwrng.
The way to make use of this is to install the rng-tools package
(check your distro, or download from
http://sourceforge.net/projects/gkernel/). rngd periodically reads
/dev/hwrng and injects the entropy into /dev/random.