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

5
menuconfig 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
if HW_RANDOM

25 26
config HW_RANDOM_TIMERIOMEM
	tristate "Timer IOMEM HW Random Number Generator support"
27
	depends on HAS_IOMEM
28 29 30 31 32 33 34 35 36 37 38
	---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 已提交
39 40
config HW_RANDOM_INTEL
	tristate "Intel HW Random Number Generator support"
41
	depends on (X86 || IA64) && PCI
42
	default HW_RANDOM
M
Michael Buesch 已提交
43 44 45 46 47 48 49 50
	---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 已提交
51 52 53

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

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

78 79
config HW_RANDOM_BCM63XX
	tristate "Broadcom BCM63xx Random Number Generator support"
80
	depends on BCM63XX
81 82 83 84 85 86 87 88 89 90
	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.

91 92
config HW_RANDOM_BCM2835
	tristate "Broadcom BCM2835 Random Number Generator support"
93
	depends on ARCH_BCM2835
94 95 96 97 98 99 100 101 102
	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.
103

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

117 118
config HW_RANDOM_N2RNG
	tristate "Niagara2 Random Number Generator support"
119
	depends on SPARC64
120 121 122 123 124 125 126 127 128 129
	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 已提交
130 131
config HW_RANDOM_VIA
	tristate "VIA HW Random Number Generator support"
132
	depends on X86
133
	default HW_RANDOM
M
Michael Buesch 已提交
134 135 136 137 138 139 140 141
	---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.
142 143

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

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

	  If unsure, say Y.
155 156 157

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

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

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

170 171
config HW_RANDOM_OMAP3_ROM
	tristate "OMAP3 ROM Random Number Generator support"
172
	depends on ARCH_OMAP3
173 174 175 176 177 178 179 180 181 182
	default HW_RANDOM
	---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 M here: the
	  module will be called omap3-rom-rng.

	  If unsure, say Y.

183 184
config HW_RANDOM_OCTEON
	tristate "Octeon Random Number Generator support"
185
	depends on CAVIUM_OCTEON_SOC
186 187 188 189 190 191 192 193 194 195
	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 已提交
196 197
config HW_RANDOM_PASEMI
	tristate "PA Semi HW Random Number Generator support"
198
	depends on PPC_PASEMI
O
Olof Johansson 已提交
199 200 201
	default HW_RANDOM
	---help---
	  This driver provides kernel-side support for the Random Number
202
	  Generator hardware found on PA Semi PWRficient SoCs.
O
Olof Johansson 已提交
203 204 205 206 207 208

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

	  If unsure, say Y.

209 210
config HW_RANDOM_VIRTIO
	tristate "VirtIO Random Number Generator support"
211
	depends on VIRTIO
212 213 214 215 216 217
	---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.
218

219 220
config HW_RANDOM_TX4939
	tristate "TX4939 Random Number Generator support"
221
	depends on SOC_TX4939
222 223 224 225 226 227 228 229 230 231
	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.

232 233
config HW_RANDOM_MXC_RNGA
	tristate "Freescale i.MX RNGA Random Number Generator"
234
	depends on ARCH_HAS_RNGA
235
	default HW_RANDOM
236 237 238 239 240 241 242 243
	---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.
244 245 246

config HW_RANDOM_NOMADIK
	tristate "ST-Ericsson Nomadik Random Number Generator support"
247
	depends on ARCH_NOMADIK
248
	default HW_RANDOM
249 250 251 252 253 254 255 256
	---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.
257 258 259

config HW_RANDOM_PICOXCELL
	tristate "Picochip picoXcell true random number generator support"
260
	depends on ARCH_PICOXCELL && PICOXCELL_PC3X3
261
	default HW_RANDOM
262 263 264 265 266 267 268 269
	---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.
270 271 272

config HW_RANDOM_PPC4XX
	tristate "PowerPC 4xx generic true random number generator support"
273
	depends on PPC && 4xx
274
	default HW_RANDOM
275 276 277 278 279 280 281 282
	---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 已提交
283

284 285
config HW_RANDOM_PSERIES
	tristate "pSeries HW Random Number Generator support"
286
	depends on PPC64 && IBMVIO
287 288 289 290 291 292 293 294 295
	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.
296

297 298
config HW_RANDOM_POWERNV
	tristate "PowerNV Random Number Generator support"
299
	depends on PPC_POWERNV
300 301 302 303 304 305 306 307 308 309
	default HW_RANDOM
	---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 M here: the
	  module will be called powernv-rng.

	  If unsure, say Y.

310 311
config HW_RANDOM_EXYNOS
	tristate "EXYNOS HW random number generator support"
312 313
	depends on ARCH_EXYNOS
	default HW_RANDOM
314 315 316 317 318 319 320 321
	---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.
322 323 324

config HW_RANDOM_TPM
	tristate "TPM HW Random Number Generator support"
325
	depends on TCG_TPM
326 327 328 329 330 331 332 333 334
	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.
335 336 337

config HW_RANDOM_MSM
	tristate "Qualcomm MSM Random Number Generator support"
338
	depends on ARCH_MSM
339
	default HW_RANDOM
340 341 342 343 344 345 346 347
	---help---
	  This driver provides kernel-side support for the Random Number
	  Generator hardware found on Qualcomm MSM SoCs.

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

	  If unsure, say Y.
348

349 350
endif # HW_RANDOM

351 352 353 354 355 356 357 358 359 360 361 362 363 364
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.