Kconfig 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  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_OCTEON
  131. tristate "Octeon Random Number Generator support"
  132. depends on HW_RANDOM && CAVIUM_OCTEON_SOC
  133. default HW_RANDOM
  134. ---help---
  135. This driver provides kernel-side support for the Random Number
  136. Generator hardware found on Octeon processors.
  137. To compile this driver as a module, choose M here: the
  138. module will be called octeon-rng.
  139. If unsure, say Y.
  140. config HW_RANDOM_PASEMI
  141. tristate "PA Semi HW Random Number Generator support"
  142. depends on HW_RANDOM && PPC_PASEMI
  143. default HW_RANDOM
  144. ---help---
  145. This driver provides kernel-side support for the Random Number
  146. Generator hardware found on PA Semi PWRficient SoCs.
  147. To compile this driver as a module, choose M here: the
  148. module will be called pasemi-rng.
  149. If unsure, say Y.
  150. config HW_RANDOM_VIRTIO
  151. tristate "VirtIO Random Number Generator support"
  152. depends on HW_RANDOM && VIRTIO
  153. ---help---
  154. This driver provides kernel-side support for the virtual Random Number
  155. Generator hardware.
  156. To compile this driver as a module, choose M here: the
  157. module will be called virtio-rng. If unsure, say N.
  158. config HW_RANDOM_TX4939
  159. tristate "TX4939 Random Number Generator support"
  160. depends on HW_RANDOM && SOC_TX4939
  161. default HW_RANDOM
  162. ---help---
  163. This driver provides kernel-side support for the Random Number
  164. Generator hardware found on TX4939 SoC.
  165. To compile this driver as a module, choose M here: the
  166. module will be called tx4939-rng.
  167. If unsure, say Y.
  168. config HW_RANDOM_MXC_RNGA
  169. tristate "Freescale i.MX RNGA Random Number Generator"
  170. depends on HW_RANDOM && ARCH_HAS_RNGA
  171. ---help---
  172. This driver provides kernel-side support for the Random Number
  173. Generator hardware found on Freescale i.MX processors.
  174. To compile this driver as a module, choose M here: the
  175. module will be called mxc-rnga.
  176. If unsure, say Y.
  177. config HW_RANDOM_NOMADIK
  178. tristate "ST-Ericsson Nomadik Random Number Generator support"
  179. depends on HW_RANDOM && ARCH_NOMADIK
  180. ---help---
  181. This driver provides kernel-side support for the Random Number
  182. Generator hardware found on ST-Ericsson SoCs (8815 and 8500).
  183. To compile this driver as a module, choose M here: the
  184. module will be called nomadik-rng.
  185. If unsure, say Y.
  186. config HW_RANDOM_PICOXCELL
  187. tristate "Picochip picoXcell true random number generator support"
  188. depends on HW_RANDOM && ARCH_PICOXCELL && PICOXCELL_PC3X3
  189. ---help---
  190. This driver provides kernel-side support for the Random Number
  191. Generator hardware found on Picochip PC3x3 and later devices.
  192. To compile this driver as a module, choose M here: the
  193. module will be called picoxcell-rng.
  194. If unsure, say Y.
  195. config HW_RANDOM_PPC4XX
  196. tristate "PowerPC 4xx generic true random number generator support"
  197. depends on HW_RANDOM && PPC && 4xx
  198. ---help---
  199. This driver provides the kernel-side support for the TRNG hardware
  200. found in the security function of some PowerPC 4xx SoCs.
  201. To compile this driver as a module, choose M here: the
  202. module will be called ppc4xx-rng.
  203. If unsure, say N.
  204. config UML_RANDOM
  205. depends on UML
  206. tristate "Hardware random number generator"
  207. help
  208. This option enables UML's "hardware" random number generator. It
  209. attaches itself to the host's /dev/random, supplying as much entropy
  210. as the host has, rather than the small amount the UML gets from its
  211. own drivers. It registers itself as a standard hardware random number
  212. generator, major 10, minor 183, and the canonical device name is
  213. /dev/hwrng.
  214. The way to make use of this is to install the rng-tools package
  215. (check your distro, or download from
  216. http://sourceforge.net/projects/gkernel/). rngd periodically reads
  217. /dev/hwrng and injects the entropy into /dev/random.
  218. config HW_RANDOM_PSERIES
  219. tristate "pSeries HW Random Number Generator support"
  220. depends on HW_RANDOM && PPC64 && IBMVIO
  221. default HW_RANDOM
  222. ---help---
  223. This driver provides kernel-side support for the Random Number
  224. Generator hardware found on POWER7+ machines and above
  225. To compile this driver as a module, choose M here: the
  226. module will be called pseries-rng.
  227. If unsure, say Y.
  228. config HW_RANDOM_EXYNOS
  229. tristate "EXYNOS HW random number generator support"
  230. depends on HW_RANDOM && HAS_IOMEM && HAVE_CLK
  231. ---help---
  232. This driver provides kernel-side support for the Random Number
  233. Generator hardware found on EXYNOS SOCs.
  234. To compile this driver as a module, choose M here: the
  235. module will be called exynos-rng.
  236. If unsure, say Y.
  237. config HW_RANDOM_TPM
  238. tristate "TPM HW Random Number Generator support"
  239. depends on HW_RANDOM && TCG_TPM
  240. default HW_RANDOM
  241. ---help---
  242. This driver provides kernel-side support for the Random Number
  243. Generator in the Trusted Platform Module
  244. To compile this driver as a module, choose M here: the
  245. module will be called tpm-rng.
  246. If unsure, say Y.