Kconfig 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  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_GEODE
  70. tristate "AMD Geode HW Random Number Generator support"
  71. depends on HW_RANDOM && X86_32 && PCI
  72. default HW_RANDOM
  73. ---help---
  74. This driver provides kernel-side support for the Random Number
  75. Generator hardware found on the AMD Geode LX.
  76. To compile this driver as a module, choose M here: the
  77. module will be called geode-rng.
  78. If unsure, say Y.
  79. config HW_RANDOM_N2RNG
  80. tristate "Niagara2 Random Number Generator support"
  81. depends on HW_RANDOM && SPARC64
  82. default HW_RANDOM
  83. ---help---
  84. This driver provides kernel-side support for the Random Number
  85. Generator hardware found on Niagara2 cpus.
  86. To compile this driver as a module, choose M here: the
  87. module will be called n2-rng.
  88. If unsure, say Y.
  89. config HW_RANDOM_VIA
  90. tristate "VIA HW Random Number Generator support"
  91. depends on HW_RANDOM && X86
  92. default HW_RANDOM
  93. ---help---
  94. This driver provides kernel-side support for the Random Number
  95. Generator hardware found on VIA based motherboards.
  96. To compile this driver as a module, choose M here: the
  97. module will be called via-rng.
  98. If unsure, say Y.
  99. config HW_RANDOM_IXP4XX
  100. tristate "Intel IXP4xx NPU HW Pseudo-Random Number Generator support"
  101. depends on HW_RANDOM && ARCH_IXP4XX
  102. default HW_RANDOM
  103. ---help---
  104. This driver provides kernel-side support for the Pseudo-Random
  105. Number Generator hardware found on the Intel IXP45x/46x NPU.
  106. To compile this driver as a module, choose M here: the
  107. module will be called ixp4xx-rng.
  108. If unsure, say Y.
  109. config HW_RANDOM_OMAP
  110. tristate "OMAP Random Number Generator support"
  111. depends on HW_RANDOM && (ARCH_OMAP16XX || ARCH_OMAP2)
  112. default HW_RANDOM
  113. ---help---
  114. This driver provides kernel-side support for the Random Number
  115. Generator hardware found on OMAP16xx and OMAP24xx multimedia
  116. processors.
  117. To compile this driver as a module, choose M here: the
  118. module will be called omap-rng.
  119. If unsure, say Y.
  120. config HW_RANDOM_OCTEON
  121. tristate "Octeon Random Number Generator support"
  122. depends on HW_RANDOM && CPU_CAVIUM_OCTEON
  123. default HW_RANDOM
  124. ---help---
  125. This driver provides kernel-side support for the Random Number
  126. Generator hardware found on Octeon processors.
  127. To compile this driver as a module, choose M here: the
  128. module will be called octeon-rng.
  129. If unsure, say Y.
  130. config HW_RANDOM_PASEMI
  131. tristate "PA Semi HW Random Number Generator support"
  132. depends on HW_RANDOM && PPC_PASEMI
  133. default HW_RANDOM
  134. ---help---
  135. This driver provides kernel-side support for the Random Number
  136. Generator hardware found on PA Semi PWRficient SoCs.
  137. To compile this driver as a module, choose M here: the
  138. module will be called pasemi-rng.
  139. If unsure, say Y.
  140. config HW_RANDOM_VIRTIO
  141. tristate "VirtIO Random Number Generator support"
  142. depends on HW_RANDOM && VIRTIO
  143. ---help---
  144. This driver provides kernel-side support for the virtual Random Number
  145. Generator hardware.
  146. To compile this driver as a module, choose M here: the
  147. module will be called virtio-rng. If unsure, say N.
  148. config HW_RANDOM_TX4939
  149. tristate "TX4939 Random Number Generator support"
  150. depends on HW_RANDOM && SOC_TX4939
  151. default HW_RANDOM
  152. ---help---
  153. This driver provides kernel-side support for the Random Number
  154. Generator hardware found on TX4939 SoC.
  155. To compile this driver as a module, choose M here: the
  156. module will be called tx4939-rng.
  157. If unsure, say Y.
  158. config HW_RANDOM_MXC_RNGA
  159. tristate "Freescale i.MX RNGA Random Number Generator"
  160. depends on HW_RANDOM && ARCH_HAS_RNGA
  161. ---help---
  162. This driver provides kernel-side support for the Random Number
  163. Generator hardware found on Freescale i.MX processors.
  164. To compile this driver as a module, choose M here: the
  165. module will be called mxc-rnga.
  166. If unsure, say Y.
  167. config HW_RANDOM_NOMADIK
  168. tristate "ST-Ericsson Nomadik Random Number Generator support"
  169. depends on HW_RANDOM && ARCH_NOMADIK
  170. ---help---
  171. This driver provides kernel-side support for the Random Number
  172. Generator hardware found on ST-Ericsson SoCs (8815 and 8500).
  173. To compile this driver as a module, choose M here: the
  174. module will be called nomadik-rng.
  175. If unsure, say Y.
  176. config HW_RANDOM_PICOXCELL
  177. tristate "Picochip picoXcell true random number generator support"
  178. depends on HW_RANDOM && ARCH_PICOXCELL && PICOXCELL_PC3X3
  179. ---help---
  180. This driver provides kernel-side support for the Random Number
  181. Generator hardware found on Picochip PC3x3 and later devices.
  182. To compile this driver as a module, choose M here: the
  183. module will be called picoxcell-rng.
  184. If unsure, say Y.
  185. config HW_RANDOM_PPC4XX
  186. tristate "PowerPC 4xx generic true random number generator support"
  187. depends on HW_RANDOM && PPC && 4xx
  188. ---help---
  189. This driver provides the kernel-side support for the TRNG hardware
  190. found in the security function of some PowerPC 4xx SoCs.
  191. To compile this driver as a module, choose M here: the
  192. module will be called ppc4xx-rng.
  193. If unsure, say N.
  194. config UML_RANDOM
  195. depends on UML
  196. tristate "Hardware random number generator"
  197. help
  198. This option enables UML's "hardware" random number generator. It
  199. attaches itself to the host's /dev/random, supplying as much entropy
  200. as the host has, rather than the small amount the UML gets from its
  201. own drivers. It registers itself as a standard hardware random number
  202. generator, major 10, minor 183, and the canonical device name is
  203. /dev/hwrng.
  204. The way to make use of this is to install the rng-tools package
  205. (check your distro, or download from
  206. http://sourceforge.net/projects/gkernel/). rngd periodically reads
  207. /dev/hwrng and injects the entropy into /dev/random.
  208. config HW_RANDOM_PSERIES
  209. tristate "pSeries HW Random Number Generator support"
  210. depends on HW_RANDOM && PPC64 && IBMVIO
  211. default HW_RANDOM
  212. ---help---
  213. This driver provides kernel-side support for the Random Number
  214. Generator hardware found on POWER7+ machines and above
  215. To compile this driver as a module, choose M here: the
  216. module will be called pseries-rng.
  217. If unsure, say Y.
  218. config HW_RANDOM_EXYNOS
  219. tristate "EXYNOS HW random number generator support"
  220. depends on HW_RANDOM && HAS_IOMEM && HAVE_CLK
  221. ---help---
  222. This driver provides kernel-side support for the Random Number
  223. Generator hardware found on EXYNOS SOCs.
  224. To compile this driver as a module, choose M here: the
  225. module will be called exynos-rng.
  226. If unsure, say Y.
  227. config HW_RANDOM_TPM
  228. tristate "TPM HW Random Number Generator support"
  229. depends on HW_RANDOM && TCG_TPM
  230. default HW_RANDOM
  231. ---help---
  232. This driver provides kernel-side support for the Random Number
  233. Generator in the Trusted Platform Module
  234. To compile this driver as a module, choose M here: the
  235. module will be called tpm-rng.
  236. If unsure, say Y.