Kconfig 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  1. #
  2. # Hardware Random Number Generator (RNG) configuration
  3. #
  4. config HW_RANDOM
  5. tristate "Hardware Random Number Generator Core support"
  6. default m
  7. ---help---
  8. Hardware Random Number Generator Core infrastructure.
  9. To compile this driver as a module, choose M here: the
  10. module will be called rng-core. This provides a device
  11. that's usually called /dev/hw_random, and which exposes one
  12. of possibly several hardware random number generators.
  13. These hardware random number generators do not feed directly
  14. into the kernel's random number generator. That is usually
  15. handled by the "rngd" daemon. Documentation/hw_random.txt
  16. has more information.
  17. If unsure, say Y.
  18. config HW_RANDOM_TIMERIOMEM
  19. tristate "Timer IOMEM HW Random Number Generator support"
  20. depends on HW_RANDOM && HAS_IOMEM
  21. ---help---
  22. This driver provides kernel-side support for a generic Random
  23. Number Generator used by reading a 'dumb' iomem address that
  24. is to be read no faster than, for example, once a second;
  25. the default FPGA bitstream on the TS-7800 has such functionality.
  26. To compile this driver as a module, choose M here: the
  27. module will be called timeriomem-rng.
  28. If unsure, say Y.
  29. config HW_RANDOM_INTEL
  30. tristate "Intel HW Random Number Generator support"
  31. depends on HW_RANDOM && (X86 || IA64) && PCI
  32. default HW_RANDOM
  33. ---help---
  34. This driver provides kernel-side support for the Random Number
  35. Generator hardware found on Intel i8xx-based motherboards.
  36. To compile this driver as a module, choose M here: the
  37. module will be called intel-rng.
  38. If unsure, say Y.
  39. config HW_RANDOM_AMD
  40. tristate "AMD HW Random Number Generator support"
  41. depends on HW_RANDOM && (X86 || PPC_MAPLE) && PCI
  42. default HW_RANDOM
  43. ---help---
  44. This driver provides kernel-side support for the Random Number
  45. Generator hardware found on AMD 76x-based motherboards.
  46. To compile this driver as a module, choose M here: the
  47. module will be called amd-rng.
  48. If unsure, say Y.
  49. config HW_RANDOM_ATMEL
  50. tristate "Atmel Random Number Generator support"
  51. depends on HW_RANDOM && HAVE_CLK
  52. default (HW_RANDOM && ARCH_AT91)
  53. ---help---
  54. This driver provides kernel-side support for the Random Number
  55. Generator hardware found on Atmel AT91 devices.
  56. To compile this driver as a module, choose M here: the
  57. module will be called atmel-rng.
  58. If unsure, say Y.
  59. config HW_RANDOM_BCM63XX
  60. tristate "Broadcom BCM63xx Random Number Generator support"
  61. depends on HW_RANDOM && BCM63XX
  62. default HW_RANDOM
  63. ---help---
  64. This driver provides kernel-side support for the Random Number
  65. Generator hardware found on the Broadcom BCM63xx SoCs.
  66. To compile this driver as a module, choose M here: the
  67. module will be called bcm63xx-rng
  68. If unusure, say Y.
  69. config HW_RANDOM_BCM2835
  70. tristate "Broadcom BCM2835 Random Number Generator support"
  71. depends on HW_RANDOM && ARCH_BCM2835
  72. default HW_RANDOM
  73. ---help---
  74. This driver provides kernel-side support for the Random Number
  75. Generator hardware found on the Broadcom BCM2835 SoCs.
  76. To compile this driver as a module, choose M here: the
  77. module will be called bcm2835-rng
  78. If unsure, say Y.
  79. config HW_RANDOM_GEODE
  80. tristate "AMD Geode HW Random Number Generator support"
  81. depends on HW_RANDOM && X86_32 && PCI
  82. default HW_RANDOM
  83. ---help---
  84. This driver provides kernel-side support for the Random Number
  85. Generator hardware found on the AMD Geode LX.
  86. To compile this driver as a module, choose M here: the
  87. module will be called geode-rng.
  88. If unsure, say Y.
  89. config HW_RANDOM_N2RNG
  90. tristate "Niagara2 Random Number Generator support"
  91. depends on HW_RANDOM && SPARC64
  92. default HW_RANDOM
  93. ---help---
  94. This driver provides kernel-side support for the Random Number
  95. Generator hardware found on Niagara2 cpus.
  96. To compile this driver as a module, choose M here: the
  97. module will be called n2-rng.
  98. If unsure, say Y.
  99. config HW_RANDOM_VIA
  100. tristate "VIA HW Random Number Generator support"
  101. depends on HW_RANDOM && X86
  102. default HW_RANDOM
  103. ---help---
  104. This driver provides kernel-side support for the Random Number
  105. Generator hardware found on VIA based motherboards.
  106. To compile this driver as a module, choose M here: the
  107. module will be called via-rng.
  108. If unsure, say Y.
  109. config HW_RANDOM_IXP4XX
  110. tristate "Intel IXP4xx NPU HW Pseudo-Random Number Generator support"
  111. depends on HW_RANDOM && ARCH_IXP4XX
  112. default HW_RANDOM
  113. ---help---
  114. This driver provides kernel-side support for the Pseudo-Random
  115. Number Generator hardware found on the Intel IXP45x/46x NPU.
  116. To compile this driver as a module, choose M here: the
  117. module will be called ixp4xx-rng.
  118. If unsure, say Y.
  119. config HW_RANDOM_OMAP
  120. tristate "OMAP Random Number Generator support"
  121. depends on HW_RANDOM && (ARCH_OMAP16XX || ARCH_OMAP2PLUS)
  122. default HW_RANDOM
  123. ---help---
  124. This driver provides kernel-side support for the Random Number
  125. Generator hardware found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx
  126. multimedia processors.
  127. To compile this driver as a module, choose M here: the
  128. module will be called omap-rng.
  129. If unsure, say Y.
  130. config HW_RANDOM_OMAP3_ROM
  131. tristate "OMAP3 ROM Random Number Generator support"
  132. depends on HW_RANDOM && ARCH_OMAP3
  133. default HW_RANDOM
  134. ---help---
  135. This driver provides kernel-side support for the Random Number
  136. Generator hardware found on OMAP34xx processors.
  137. To compile this driver as a module, choose M here: the
  138. module will be called omap3-rom-rng.
  139. If unsure, say Y.
  140. config HW_RANDOM_OCTEON
  141. tristate "Octeon Random Number Generator support"
  142. depends on HW_RANDOM && CAVIUM_OCTEON_SOC
  143. default HW_RANDOM
  144. ---help---
  145. This driver provides kernel-side support for the Random Number
  146. Generator hardware found on Octeon processors.
  147. To compile this driver as a module, choose M here: the
  148. module will be called octeon-rng.
  149. If unsure, say Y.
  150. config HW_RANDOM_PASEMI
  151. tristate "PA Semi HW Random Number Generator support"
  152. depends on HW_RANDOM && PPC_PASEMI
  153. default HW_RANDOM
  154. ---help---
  155. This driver provides kernel-side support for the Random Number
  156. Generator hardware found on PA Semi PWRficient SoCs.
  157. To compile this driver as a module, choose M here: the
  158. module will be called pasemi-rng.
  159. If unsure, say Y.
  160. config HW_RANDOM_VIRTIO
  161. tristate "VirtIO Random Number Generator support"
  162. depends on HW_RANDOM && VIRTIO
  163. ---help---
  164. This driver provides kernel-side support for the virtual Random Number
  165. Generator hardware.
  166. To compile this driver as a module, choose M here: the
  167. module will be called virtio-rng. If unsure, say N.
  168. config HW_RANDOM_TX4939
  169. tristate "TX4939 Random Number Generator support"
  170. depends on HW_RANDOM && SOC_TX4939
  171. default HW_RANDOM
  172. ---help---
  173. This driver provides kernel-side support for the Random Number
  174. Generator hardware found on TX4939 SoC.
  175. To compile this driver as a module, choose M here: the
  176. module will be called tx4939-rng.
  177. If unsure, say Y.
  178. config HW_RANDOM_MXC_RNGA
  179. tristate "Freescale i.MX RNGA Random Number Generator"
  180. depends on HW_RANDOM && ARCH_HAS_RNGA
  181. ---help---
  182. This driver provides kernel-side support for the Random Number
  183. Generator hardware found on Freescale i.MX processors.
  184. To compile this driver as a module, choose M here: the
  185. module will be called mxc-rnga.
  186. If unsure, say Y.
  187. config HW_RANDOM_NOMADIK
  188. tristate "ST-Ericsson Nomadik Random Number Generator support"
  189. depends on HW_RANDOM && ARCH_NOMADIK
  190. ---help---
  191. This driver provides kernel-side support for the Random Number
  192. Generator hardware found on ST-Ericsson SoCs (8815 and 8500).
  193. To compile this driver as a module, choose M here: the
  194. module will be called nomadik-rng.
  195. If unsure, say Y.
  196. config HW_RANDOM_PICOXCELL
  197. tristate "Picochip picoXcell true random number generator support"
  198. depends on HW_RANDOM && ARCH_PICOXCELL && PICOXCELL_PC3X3
  199. ---help---
  200. This driver provides kernel-side support for the Random Number
  201. Generator hardware found on Picochip PC3x3 and later devices.
  202. To compile this driver as a module, choose M here: the
  203. module will be called picoxcell-rng.
  204. If unsure, say Y.
  205. config HW_RANDOM_PPC4XX
  206. tristate "PowerPC 4xx generic true random number generator support"
  207. depends on HW_RANDOM && PPC && 4xx
  208. ---help---
  209. This driver provides the kernel-side support for the TRNG hardware
  210. found in the security function of some PowerPC 4xx SoCs.
  211. To compile this driver as a module, choose M here: the
  212. module will be called ppc4xx-rng.
  213. If unsure, say N.
  214. config UML_RANDOM
  215. depends on UML
  216. tristate "Hardware random number generator"
  217. help
  218. This option enables UML's "hardware" random number generator. It
  219. attaches itself to the host's /dev/random, supplying as much entropy
  220. as the host has, rather than the small amount the UML gets from its
  221. own drivers. It registers itself as a standard hardware random number
  222. generator, major 10, minor 183, and the canonical device name is
  223. /dev/hwrng.
  224. The way to make use of this is to install the rng-tools package
  225. (check your distro, or download from
  226. http://sourceforge.net/projects/gkernel/). rngd periodically reads
  227. /dev/hwrng and injects the entropy into /dev/random.
  228. config HW_RANDOM_PSERIES
  229. tristate "pSeries HW Random Number Generator support"
  230. depends on HW_RANDOM && PPC64 && IBMVIO
  231. default HW_RANDOM
  232. ---help---
  233. This driver provides kernel-side support for the Random Number
  234. Generator hardware found on POWER7+ machines and above
  235. To compile this driver as a module, choose M here: the
  236. module will be called pseries-rng.
  237. If unsure, say Y.
  238. config HW_RANDOM_EXYNOS
  239. tristate "EXYNOS HW random number generator support"
  240. depends on HW_RANDOM && HAS_IOMEM && HAVE_CLK
  241. ---help---
  242. This driver provides kernel-side support for the Random Number
  243. Generator hardware found on EXYNOS SOCs.
  244. To compile this driver as a module, choose M here: the
  245. module will be called exynos-rng.
  246. If unsure, say Y.
  247. config HW_RANDOM_TPM
  248. tristate "TPM HW Random Number Generator support"
  249. depends on HW_RANDOM && TCG_TPM
  250. default HW_RANDOM
  251. ---help---
  252. This driver provides kernel-side support for the Random Number
  253. Generator in the Trusted Platform Module
  254. To compile this driver as a module, choose M here: the
  255. module will be called tpm-rng.
  256. If unsure, say Y.