Kconfig 9.8 KB
Newer Older
1 2 3 4 5
#
# Hardware Random Number Generator (RNG) configuration
#

config HW_RANDOM
6 7
	tristate "Hardware Random Number Generator Core support"
	default m
8 9 10
	---help---
	  Hardware Random Number Generator Core infrastructure.

11
	  To compile this driver as a module, choose M here: the
D
David Brownell 已提交
12 13 14 15 16 17 18 19
	  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.
20

21
	  If unsure, say Y.
M
Michael Buesch 已提交
22

23 24
config HW_RANDOM_TIMERIOMEM
	tristate "Timer IOMEM HW Random Number Generator support"
25
	depends on HW_RANDOM && HAS_IOMEM
26 27 28 29 30 31 32 33 34 35 36
	---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.

M
Michael Buesch 已提交
37 38 39
config HW_RANDOM_INTEL
	tristate "Intel HW Random Number Generator support"
	depends on HW_RANDOM && (X86 || IA64) && PCI
40
	default HW_RANDOM
M
Michael Buesch 已提交
41 42 43 44 45 46 47 48
	---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.
M
Michael Buesch 已提交
49 50 51

config HW_RANDOM_AMD
	tristate "AMD HW Random Number Generator support"
52
	depends on HW_RANDOM && (X86 || PPC_MAPLE) && PCI
53
	default HW_RANDOM
M
Michael Buesch 已提交
54 55 56 57 58 59 60 61
	---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.
M
Michael Buesch 已提交
62

63 64
config HW_RANDOM_ATMEL
	tristate "Atmel Random Number Generator support"
65
	depends on HW_RANDOM && HAVE_CLK
66
	default (HW_RANDOM && ARCH_AT91)
67 68 69 70 71 72 73 74 75
	---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.

76 77 78 79 80 81 82 83 84 85 86 87 88
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.

89 90 91 92 93 94 95 96 97 98 99 100
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.
101

M
Michael Buesch 已提交
102 103
config HW_RANDOM_GEODE
	tristate "AMD Geode HW Random Number Generator support"
104
	depends on HW_RANDOM && X86_32 && PCI
105
	default HW_RANDOM
M
Michael Buesch 已提交
106 107 108 109 110 111 112 113
	---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.
M
Michael Buesch 已提交
114

115 116 117 118 119 120 121 122 123 124 125 126 127
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.

M
Michael Buesch 已提交
128 129
config HW_RANDOM_VIA
	tristate "VIA HW Random Number Generator support"
130
	depends on HW_RANDOM && X86
131
	default HW_RANDOM
M
Michael Buesch 已提交
132 133 134 135 136 137 138 139
	---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.
140 141

config HW_RANDOM_IXP4XX
142
	tristate "Intel IXP4xx NPU HW Pseudo-Random Number Generator support"
143
	depends on HW_RANDOM && ARCH_IXP4XX
144
	default HW_RANDOM
145
	---help---
146 147
	  This driver provides kernel-side support for the Pseudo-Random
	  Number Generator hardware found on the Intel IXP45x/46x NPU.
148 149 150 151 152

	  To compile this driver as a module, choose M here: the
	  module will be called ixp4xx-rng.

	  If unsure, say Y.
153 154 155

config HW_RANDOM_OMAP
	tristate "OMAP Random Number Generator support"
156
	depends on HW_RANDOM && (ARCH_OMAP16XX || ARCH_OMAP2PLUS)
157
	default HW_RANDOM
158 159
 	---help---
 	  This driver provides kernel-side support for the Random Number
160 161
	  Generator hardware found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx
	  multimedia processors.
162 163 164 165 166

	  To compile this driver as a module, choose M here: the
	  module will be called omap-rng.

 	  If unsure, say Y.
O
Olof Johansson 已提交
167

168 169
config HW_RANDOM_OCTEON
	tristate "Octeon Random Number Generator support"
170
	depends on HW_RANDOM && CAVIUM_OCTEON_SOC
171 172 173 174 175 176 177 178 179 180
	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.

O
Olof Johansson 已提交
181 182 183 184 185 186
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
187
	  Generator hardware found on PA Semi PWRficient SoCs.
O
Olof Johansson 已提交
188 189 190 191 192 193

	  To compile this driver as a module, choose M here: the
	  module will be called pasemi-rng.

	  If unsure, say Y.

194 195 196 197 198 199 200 201 202
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.
203

204 205 206 207 208 209 210 211 212 213 214 215 216
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.

217 218 219 220 221 222 223 224 225 226 227
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.
228 229 230

config HW_RANDOM_NOMADIK
	tristate "ST-Ericsson Nomadik Random Number Generator support"
231
	depends on HW_RANDOM && ARCH_NOMADIK
232 233 234 235 236 237 238 239
	---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.
240 241 242 243 244 245 246 247 248 249 250 251

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.
252 253 254 255 256 257 258 259 260 261 262 263

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.
A
Al Viro 已提交
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278

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.
279 280 281 282 283 284 285 286 287 288 289 290 291

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.
292 293 294 295 296 297 298 299 300 301 302 303

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.
304 305 306 307 308 309 310 311 312 313 314 315 316

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.