2006-06-26 07:24:59 +00:00
|
|
|
#
|
|
|
|
# Hardware Random Number Generator (RNG) configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
config HW_RANDOM
|
2006-12-07 04:38:20 +00:00
|
|
|
tristate "Hardware Random Number Generator Core support"
|
|
|
|
default m
|
2006-06-26 07:24:59 +00:00
|
|
|
---help---
|
|
|
|
Hardware Random Number Generator Core infrastructure.
|
|
|
|
|
2006-12-07 04:38:20 +00:00
|
|
|
To compile this driver as a module, choose M here: the
|
2008-03-24 19:29:51 +00: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 04:38:20 +00:00
|
|
|
|
2006-06-26 07:24:59 +00:00
|
|
|
If unsure, say Y.
|
2006-06-26 07:24:59 +00: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 04:03:56 +00:00
|
|
|
config HW_RANDOM_TIMERIOMEM
|
|
|
|
tristate "Timer IOMEM HW Random Number Generator support"
|
|
|
|
depends on HW_RANDOM
|
|
|
|
---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 07:24:59 +00:00
|
|
|
config HW_RANDOM_INTEL
|
|
|
|
tristate "Intel HW Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && (X86 || IA64) && PCI
|
2006-12-07 04:38:20 +00:00
|
|
|
default HW_RANDOM
|
2006-06-26 07:24:59 +00: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 07:25:00 +00:00
|
|
|
|
|
|
|
config HW_RANDOM_AMD
|
|
|
|
tristate "AMD HW Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && X86 && PCI
|
2006-12-07 04:38:20 +00:00
|
|
|
default HW_RANDOM
|
2006-06-26 07:25:00 +00: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 07:25:01 +00:00
|
|
|
|
|
|
|
config HW_RANDOM_GEODE
|
|
|
|
tristate "AMD Geode HW Random Number Generator support"
|
2007-07-21 15:11:22 +00:00
|
|
|
depends on HW_RANDOM && X86_32 && PCI
|
2006-12-07 04:38:20 +00:00
|
|
|
default HW_RANDOM
|
2006-06-26 07:25:01 +00: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 07:25:02 +00:00
|
|
|
|
2008-06-03 22:56:11 +00: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 07:25:02 +00:00
|
|
|
config HW_RANDOM_VIA
|
|
|
|
tristate "VIA HW Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && X86_32
|
2006-12-07 04:38:20 +00:00
|
|
|
default HW_RANDOM
|
2006-06-26 07:25:02 +00: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 07:25:02 +00:00
|
|
|
|
|
|
|
config HW_RANDOM_IXP4XX
|
|
|
|
tristate "Intel IXP4xx NPU HW Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && ARCH_IXP4XX
|
2006-12-07 04:38:20 +00:00
|
|
|
default HW_RANDOM
|
2006-06-26 07:25:02 +00:00
|
|
|
---help---
|
|
|
|
This driver provides kernel-side support for the Random
|
|
|
|
Number Generator hardware found on the Intel IXP4xx NPU.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called ixp4xx-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2006-06-26 07:25:03 +00:00
|
|
|
|
|
|
|
config HW_RANDOM_OMAP
|
|
|
|
tristate "OMAP Random Number Generator support"
|
|
|
|
depends on HW_RANDOM && (ARCH_OMAP16XX || ARCH_OMAP24XX)
|
2006-12-07 04:38:20 +00:00
|
|
|
default HW_RANDOM
|
2006-06-26 07:25:03 +00: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 09:33:35 +00: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 02:57:45 +00:00
|
|
|
Generator hardware found on PA Semi PWRficient SoCs.
|
2007-05-09 09:33:35 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called pasemi-rng.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2008-05-30 20:09:44 +00: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.
|