Kconfig 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. menuconfig CRYPTO_HW
  2. bool "Hardware crypto devices"
  3. default y
  4. ---help---
  5. Say Y here to get to see options for hardware crypto devices and
  6. processors. This option alone does not add any kernel code.
  7. If you say N, all options in this submenu will be skipped and disabled.
  8. if CRYPTO_HW
  9. config CRYPTO_DEV_PADLOCK
  10. tristate "Support for VIA PadLock ACE"
  11. depends on X86_32 && !UML
  12. select CRYPTO_ALGAPI
  13. help
  14. Some VIA processors come with an integrated crypto engine
  15. (so called VIA PadLock ACE, Advanced Cryptography Engine)
  16. that provides instructions for very fast cryptographic
  17. operations with supported algorithms.
  18. The instructions are used only when the CPU supports them.
  19. Otherwise software encryption is used.
  20. config CRYPTO_DEV_PADLOCK_AES
  21. tristate "PadLock driver for AES algorithm"
  22. depends on CRYPTO_DEV_PADLOCK
  23. select CRYPTO_BLKCIPHER
  24. select CRYPTO_AES
  25. help
  26. Use VIA PadLock for AES algorithm.
  27. Available in VIA C3 and newer CPUs.
  28. If unsure say M. The compiled module will be
  29. called padlock-aes.ko
  30. config CRYPTO_DEV_PADLOCK_SHA
  31. tristate "PadLock driver for SHA1 and SHA256 algorithms"
  32. depends on CRYPTO_DEV_PADLOCK
  33. select CRYPTO_SHA1
  34. select CRYPTO_SHA256
  35. help
  36. Use VIA PadLock for SHA1/SHA256 algorithms.
  37. Available in VIA C7 and newer processors.
  38. If unsure say M. The compiled module will be
  39. called padlock-sha.ko
  40. config CRYPTO_DEV_GEODE
  41. tristate "Support for the Geode LX AES engine"
  42. depends on X86_32 && PCI
  43. select CRYPTO_ALGAPI
  44. select CRYPTO_BLKCIPHER
  45. help
  46. Say 'Y' here to use the AMD Geode LX processor on-board AES
  47. engine for the CryptoAPI AES algorithm.
  48. To compile this driver as a module, choose M here: the module
  49. will be called geode-aes.
  50. config ZCRYPT
  51. tristate "Support for PCI-attached cryptographic adapters"
  52. depends on S390
  53. select ZCRYPT_MONOLITHIC if ZCRYPT="y"
  54. select HW_RANDOM
  55. help
  56. Select this option if you want to use a PCI-attached cryptographic
  57. adapter like:
  58. + PCI Cryptographic Accelerator (PCICA)
  59. + PCI Cryptographic Coprocessor (PCICC)
  60. + PCI-X Cryptographic Coprocessor (PCIXCC)
  61. + Crypto Express2 Coprocessor (CEX2C)
  62. + Crypto Express2 Accelerator (CEX2A)
  63. config ZCRYPT_MONOLITHIC
  64. bool "Monolithic zcrypt module"
  65. depends on ZCRYPT="m"
  66. help
  67. Select this option if you want to have a single module z90crypt.ko
  68. that contains all parts of the crypto device driver (ap bus,
  69. request router and all the card drivers).
  70. config CRYPTO_SHA1_S390
  71. tristate "SHA1 digest algorithm"
  72. depends on S390
  73. select CRYPTO_ALGAPI
  74. help
  75. This is the s390 hardware accelerated implementation of the
  76. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
  77. config CRYPTO_SHA256_S390
  78. tristate "SHA256 digest algorithm"
  79. depends on S390
  80. select CRYPTO_ALGAPI
  81. help
  82. This is the s390 hardware accelerated implementation of the
  83. SHA256 secure hash standard (DFIPS 180-2).
  84. This version of SHA implements a 256 bit hash with 128 bits of
  85. security against collision attacks.
  86. config CRYPTO_SHA512_S390
  87. tristate "SHA384 and SHA512 digest algorithm"
  88. depends on S390
  89. select CRYPTO_ALGAPI
  90. help
  91. This is the s390 hardware accelerated implementation of the
  92. SHA512 secure hash standard.
  93. This version of SHA implements a 512 bit hash with 256 bits of
  94. security against collision attacks. The code also includes SHA-384,
  95. a 384 bit hash with 192 bits of security against collision attacks.
  96. config CRYPTO_DES_S390
  97. tristate "DES and Triple DES cipher algorithms"
  98. depends on S390
  99. select CRYPTO_ALGAPI
  100. select CRYPTO_BLKCIPHER
  101. help
  102. This us the s390 hardware accelerated implementation of the
  103. DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
  104. config CRYPTO_AES_S390
  105. tristate "AES cipher algorithms"
  106. depends on S390
  107. select CRYPTO_ALGAPI
  108. select CRYPTO_BLKCIPHER
  109. help
  110. This is the s390 hardware accelerated implementation of the
  111. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  112. algorithm.
  113. Rijndael appears to be consistently a very good performer in
  114. both hardware and software across a wide range of computing
  115. environments regardless of its use in feedback or non-feedback
  116. modes. Its key setup time is excellent, and its key agility is
  117. good. Rijndael's very low memory requirements make it very well
  118. suited for restricted-space environments, in which it also
  119. demonstrates excellent performance. Rijndael's operations are
  120. among the easiest to defend against power and timing attacks.
  121. On s390 the System z9-109 currently only supports the key size
  122. of 128 bit.
  123. config S390_PRNG
  124. tristate "Pseudo random number generator device driver"
  125. depends on S390
  126. default "m"
  127. help
  128. Select this option if you want to use the s390 pseudo random number
  129. generator. The PRNG is part of the cryptographic processor functions
  130. and uses triple-DES to generate secure random numbers like the
  131. ANSI X9.17 standard. The PRNG is usable via the char device
  132. /dev/prandom.
  133. config CRYPTO_DEV_HIFN_795X
  134. tristate "Driver HIFN 795x crypto accelerator chips"
  135. select CRYPTO_DES
  136. select CRYPTO_ALGAPI
  137. select CRYPTO_BLKCIPHER
  138. select HW_RANDOM if CRYPTO_DEV_HIFN_795X_RNG
  139. depends on PCI
  140. help
  141. This option allows you to have support for HIFN 795x crypto adapters.
  142. config CRYPTO_DEV_HIFN_795X_RNG
  143. bool "HIFN 795x random number generator"
  144. depends on CRYPTO_DEV_HIFN_795X
  145. help
  146. Select this option if you want to enable the random number generator
  147. on the HIFN 795x crypto adapters.
  148. config CRYPTO_DEV_TALITOS
  149. tristate "Talitos Freescale Security Engine (SEC)"
  150. select CRYPTO_ALGAPI
  151. select CRYPTO_AUTHENC
  152. select HW_RANDOM
  153. depends on FSL_SOC
  154. help
  155. Say 'Y' here to use the Freescale Security Engine (SEC)
  156. to offload cryptographic algorithm computation.
  157. The Freescale SEC is present on PowerQUICC 'E' processors, such
  158. as the MPC8349E and MPC8548E.
  159. To compile this driver as a module, choose M here: the module
  160. will be called talitos.
  161. config CRYPTO_DEV_IXP4XX
  162. tristate "Driver for IXP4xx crypto hardware acceleration"
  163. depends on ARCH_IXP4XX
  164. select CRYPTO_DES
  165. select CRYPTO_ALGAPI
  166. select CRYPTO_AUTHENC
  167. select CRYPTO_BLKCIPHER
  168. help
  169. Driver for the IXP4xx NPE crypto engine.
  170. endif # CRYPTO_HW