Kconfig 8.3 KB

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