2006-06-26 15:24:59 +08:00
|
|
|
#
|
|
|
|
# Hardware Random Number Generator (RNG) configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
config HW_RANDOM
|
2006-12-07 12:38:20 +08:00
|
|
|
tristate "Hardware Random Number Generator Core support"
|
|
|
|
default m
|
2006-06-26 15:24:59 +08:00
|
|
|
---help---
|
|
|
|
Hardware Random Number Generator Core infrastructure.
|
|
|
|
|
2006-12-07 12:38:20 +08:00
|
|
|
To compile this driver as a module, choose M here: the
|
2008-03-25 03:29:51 +08:00
|
|
|
module will be called rng-core. This provides a device
|
|
|
|
that's usually called /dev/hw_random, 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.
|
2006-12-07 12:38:20 +08:00
|
|
|
|
2006-06-26 15:24:59 +08:00
|
|
|
If unsure, say Y.
|
2006-06-26 15:24:59 +08:00
|
|
|
|
hwrng: timeriomem - New driver
Some hardware platforms, the TS-7800[1] is one for example, can
supply the kernel with an entropy source, albeit a slow one for
TS-7800 users, by just reading a particular IO address. This
source must not be read above a certain rate otherwise the quality
suffers.
The driver is then hooked into by calling
platform_device_(register|add|del) passing a structure similar to:
------
static struct timeriomem_rng_data ts78xx_ts_rng_data = {
.address = (u32 *__iomem) TS_RNG,
.period = 1000000, /* one second */
};
static struct platform_device ts78xx_ts_rng_device = {
.name = "timeriomem_rng",
.id = -1,
.dev = {
.platform_data = &ts78xx_ts_rng_data,
},
.num_resources = 0,
};
------
[1] http://www.embeddedarm.com/products/board-detail.php?product=TS-7800
Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2009-02-22 12:03:56 +08:00
|
|
|
config HW_RANDOM_TIMERIOMEM
|
|
|
|
tristate "Timer IOMEM HW Random Number Generator support"
|
2009-03-21 14:19:04 +08:00
|
|
|
depends on HW_RANDOM && HAS_IOMEM
|
hwrng: timeriomem - New driver
Some hardware platforms, the TS-7800[1] is one for example, can
supply the kernel with an entropy source, albeit a slow one for
TS-7800 users, by just reading a particular IO address. This
source must not be read above a certain rate otherwise the quality
suffers.
The driver is then hooked into by calling
platform_device_(register|add|del) passing a structure similar to:
------
static struct timeriomem_rng_data ts78xx_ts_rng_data = {
.address = (u32 *__iomem) TS_RNG,
.period = 1000000, /* one second */
};
static struct platform_device ts78xx_ts_rng_device = {
.name = "timeriomem_rng",
.id = -1,
.dev = {
.platform_data = &ts78xx_ts_rng_data,
},
.num_resources = 0,
};
------
[1] http://www.embeddedarm.com/products/board-detail.php?product=TS-7800
Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2009-02-22 12:03:56 +08:00
|
|
|
---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 FPGA bitstream on the TS-7800 has such functionality.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called timeriomem-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2006-06-26 15:24:59 +08:00
|
|
|
config HW_RANDOM_INTEL
|
|
|
|
tristate "Intel HW Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && (X86 || IA64) && PCI
|
2006-12-07 12:38:20 +08:00
|
|
|
default HW_RANDOM
|
2006-06-26 15:24:59 +08:00
|
|
|
---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 M here: the
|
|
|
|
module will be called intel-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2006-06-26 15:25:00 +08:00
|
|
|
|
|
|
|
config HW_RANDOM_AMD
|
|
|
|
tristate "AMD HW Random Number Generator support"
|
2011-04-28 03:21:16 +08:00
|
|
|
depends on HW_RANDOM && (X86 || PPC_MAPLE) && PCI
|
2006-12-07 12:38:20 +08:00
|
|
|
default HW_RANDOM
|
2006-06-26 15:25:00 +08:00
|
|
|
---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 M here: the
|
|
|
|
module will be called amd-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2006-06-26 15:25:01 +08:00
|
|
|
|
2011-10-07 01:56:30 +08:00
|
|
|
config HW_RANDOM_ATMEL
|
|
|
|
tristate "Atmel Random Number Generator support"
|
2012-03-15 23:10:59 +08:00
|
|
|
depends on HW_RANDOM && HAVE_CLK
|
2012-04-30 18:00:35 +08:00
|
|
|
default (HW_RANDOM && ARCH_AT91)
|
2011-10-07 01:56:30 +08:00
|
|
|
---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 M here: the
|
|
|
|
module will be called atmel-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2012-07-24 22:33:11 +08:00
|
|
|
config HW_RANDOM_BCM63XX
|
|
|
|
tristate "Broadcom BCM63xx Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && BCM63XX
|
|
|
|
default HW_RANDOM
|
|
|
|
---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 M here: the
|
|
|
|
module will be called bcm63xx-rng
|
|
|
|
|
|
|
|
If unusure, say Y.
|
|
|
|
|
2013-03-28 14:19:38 +08:00
|
|
|
config HW_RANDOM_BCM2835
|
|
|
|
tristate "Broadcom BCM2835 Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && ARCH_BCM2835
|
|
|
|
default HW_RANDOM
|
|
|
|
---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 M here: the
|
|
|
|
module will be called bcm2835-rng
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2012-07-24 22:33:11 +08:00
|
|
|
|
2006-06-26 15:25:01 +08:00
|
|
|
config HW_RANDOM_GEODE
|
|
|
|
tristate "AMD Geode HW Random Number Generator support"
|
2007-07-21 23:11:22 +08:00
|
|
|
depends on HW_RANDOM && X86_32 && PCI
|
2006-12-07 12:38:20 +08:00
|
|
|
default HW_RANDOM
|
2006-06-26 15:25:01 +08:00
|
|
|
---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 M here: the
|
|
|
|
module will be called geode-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2006-06-26 15:25:02 +08:00
|
|
|
|
2008-06-04 06:56:11 +08:00
|
|
|
config HW_RANDOM_N2RNG
|
|
|
|
tristate "Niagara2 Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && SPARC64
|
|
|
|
default HW_RANDOM
|
|
|
|
---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 M here: the
|
|
|
|
module will be called n2-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2006-06-26 15:25:02 +08:00
|
|
|
config HW_RANDOM_VIA
|
|
|
|
tristate "VIA HW Random Number Generator support"
|
2009-05-15 14:01:52 +08:00
|
|
|
depends on HW_RANDOM && X86
|
2006-12-07 12:38:20 +08:00
|
|
|
default HW_RANDOM
|
2006-06-26 15:25:02 +08:00
|
|
|
---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 M here: the
|
|
|
|
module will be called via-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2006-06-26 15:25:02 +08:00
|
|
|
|
|
|
|
config HW_RANDOM_IXP4XX
|
2010-03-24 03:22:13 +08:00
|
|
|
tristate "Intel IXP4xx NPU HW Pseudo-Random Number Generator support"
|
2006-06-26 15:25:02 +08:00
|
|
|
depends on HW_RANDOM && ARCH_IXP4XX
|
2006-12-07 12:38:20 +08:00
|
|
|
default HW_RANDOM
|
2006-06-26 15:25:02 +08:00
|
|
|
---help---
|
2010-03-24 03:22:13 +08:00
|
|
|
This driver provides kernel-side support for the Pseudo-Random
|
|
|
|
Number Generator hardware found on the Intel IXP45x/46x NPU.
|
2006-06-26 15:25:02 +08:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called ixp4xx-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2006-06-26 15:25:03 +08:00
|
|
|
|
|
|
|
config HW_RANDOM_OMAP
|
|
|
|
tristate "OMAP Random Number Generator support"
|
2010-02-13 04:26:47 +08:00
|
|
|
depends on HW_RANDOM && (ARCH_OMAP16XX || ARCH_OMAP2)
|
2006-12-07 12:38:20 +08:00
|
|
|
default HW_RANDOM
|
2006-06-26 15:25:03 +08:00
|
|
|
---help---
|
|
|
|
This driver provides kernel-side support for the Random Number
|
|
|
|
Generator hardware found on OMAP16xx and OMAP24xx multimedia
|
|
|
|
processors.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called omap-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2007-05-09 17:33:35 +08:00
|
|
|
|
2009-08-21 05:10:23 +08:00
|
|
|
config HW_RANDOM_OCTEON
|
|
|
|
tristate "Octeon Random Number Generator support"
|
2013-05-22 23:10:46 +08:00
|
|
|
depends on HW_RANDOM && CAVIUM_OCTEON_SOC
|
2009-08-21 05:10:23 +08:00
|
|
|
default HW_RANDOM
|
|
|
|
---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 M here: the
|
|
|
|
module will be called octeon-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2007-05-09 17:33:35 +08:00
|
|
|
config HW_RANDOM_PASEMI
|
|
|
|
tristate "PA Semi HW Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && PPC_PASEMI
|
|
|
|
default HW_RANDOM
|
|
|
|
---help---
|
|
|
|
This driver provides kernel-side support for the Random Number
|
2007-11-05 10:57:45 +08:00
|
|
|
Generator hardware found on PA Semi PWRficient SoCs.
|
2007-05-09 17:33:35 +08:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called pasemi-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2008-05-31 04:09:44 +08:00
|
|
|
config HW_RANDOM_VIRTIO
|
|
|
|
tristate "VirtIO Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && VIRTIO
|
|
|
|
---help---
|
|
|
|
This driver provides kernel-side support for the virtual Random Number
|
|
|
|
Generator hardware.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called virtio-rng. If unsure, say N.
|
2009-04-02 23:38:41 +08:00
|
|
|
|
2009-06-02 22:54:21 +08:00
|
|
|
config HW_RANDOM_TX4939
|
|
|
|
tristate "TX4939 Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && SOC_TX4939
|
|
|
|
default HW_RANDOM
|
|
|
|
---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 M here: the
|
|
|
|
module will be called tx4939-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2009-04-02 23:38:41 +08:00
|
|
|
config HW_RANDOM_MXC_RNGA
|
|
|
|
tristate "Freescale i.MX RNGA Random Number Generator"
|
|
|
|
depends on HW_RANDOM && ARCH_HAS_RNGA
|
|
|
|
---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 M here: the
|
|
|
|
module will be called mxc-rnga.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2009-12-19 19:45:43 +08:00
|
|
|
|
|
|
|
config HW_RANDOM_NOMADIK
|
|
|
|
tristate "ST-Ericsson Nomadik Random Number Generator support"
|
2012-10-18 20:01:25 +08:00
|
|
|
depends on HW_RANDOM && ARCH_NOMADIK
|
2009-12-19 19:45:43 +08:00
|
|
|
---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 M here: the
|
|
|
|
module will be called nomadik-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2011-01-23 15:58:29 +08:00
|
|
|
|
|
|
|
config HW_RANDOM_PICOXCELL
|
|
|
|
tristate "Picochip picoXcell true random number generator support"
|
|
|
|
depends on HW_RANDOM && ARCH_PICOXCELL && PICOXCELL_PC3X3
|
|
|
|
---help---
|
|
|
|
This driver provides kernel-side support for the Random Number
|
|
|
|
Generator hardware found on Picochip PC3x3 and later devices.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called picoxcell-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2011-06-27 15:34:54 +08:00
|
|
|
|
|
|
|
config HW_RANDOM_PPC4XX
|
|
|
|
tristate "PowerPC 4xx generic true random number generator support"
|
|
|
|
depends on HW_RANDOM && PPC && 4xx
|
|
|
|
---help---
|
|
|
|
This driver provides the kernel-side support for the TRNG hardware
|
|
|
|
found in the security function of some PowerPC 4xx SoCs.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called ppc4xx-rng.
|
|
|
|
|
|
|
|
If unsure, say N.
|
2011-08-19 03:13:00 +08:00
|
|
|
|
|
|
|
config UML_RANDOM
|
|
|
|
depends on UML
|
|
|
|
tristate "Hardware random number generator"
|
|
|
|
help
|
|
|
|
This option enables UML'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 UML 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.
|
2012-04-12 13:08:53 +08:00
|
|
|
|
|
|
|
config HW_RANDOM_PSERIES
|
|
|
|
tristate "pSeries HW Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && PPC64 && IBMVIO
|
|
|
|
default HW_RANDOM
|
|
|
|
---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 M here: the
|
|
|
|
module will be called pseries-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2012-06-29 08:43:26 +08:00
|
|
|
|
|
|
|
config HW_RANDOM_EXYNOS
|
|
|
|
tristate "EXYNOS HW random number generator support"
|
|
|
|
depends on HW_RANDOM && HAS_IOMEM && HAVE_CLK
|
|
|
|
---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 M here: the
|
|
|
|
module will be called exynos-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2012-08-09 03:18:57 +08:00
|
|
|
|
|
|
|
config HW_RANDOM_TPM
|
|
|
|
tristate "TPM HW Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && TCG_TPM
|
|
|
|
default HW_RANDOM
|
|
|
|
---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 M here: the
|
|
|
|
module will be called tpm-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|