Kconfig 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. help
  25. Use VIA PadLock for AES algorithm.
  26. Available in VIA C3 and newer CPUs.
  27. If unsure say M. The compiled module will be
  28. called padlock-aes.ko
  29. config CRYPTO_DEV_PADLOCK_SHA
  30. tristate "PadLock driver for SHA1 and SHA256 algorithms"
  31. depends on CRYPTO_DEV_PADLOCK
  32. select CRYPTO_SHA1
  33. select CRYPTO_SHA256
  34. help
  35. Use VIA PadLock for SHA1/SHA256 algorithms.
  36. Available in VIA C7 and newer processors.
  37. If unsure say M. The compiled module will be
  38. called padlock-sha.ko
  39. config CRYPTO_DEV_GEODE
  40. tristate "Support for the Geode LX AES engine"
  41. depends on X86_32 && PCI
  42. select CRYPTO_ALGAPI
  43. select CRYPTO_BLKCIPHER
  44. help
  45. Say 'Y' here to use the AMD Geode LX processor on-board AES
  46. engine for the CryptoAPI AES algorithm.
  47. To compile this driver as a module, choose M here: the module
  48. will be called geode-aes.
  49. config ZCRYPT
  50. tristate "Support for PCI-attached cryptographic adapters"
  51. depends on S390
  52. select ZCRYPT_MONOLITHIC if ZCRYPT="y"
  53. select HW_RANDOM
  54. help
  55. Select this option if you want to use a PCI-attached cryptographic
  56. adapter like:
  57. + PCI Cryptographic Accelerator (PCICA)
  58. + PCI Cryptographic Coprocessor (PCICC)
  59. + PCI-X Cryptographic Coprocessor (PCIXCC)
  60. + Crypto Express2 Coprocessor (CEX2C)
  61. + Crypto Express2 Accelerator (CEX2A)
  62. config ZCRYPT_MONOLITHIC
  63. bool "Monolithic zcrypt module"
  64. depends on ZCRYPT="m"
  65. help
  66. Select this option if you want to have a single module z90crypt.ko
  67. that contains all parts of the crypto device driver (ap bus,
  68. request router and all the card drivers).
  69. config CRYPTO_SHA1_S390
  70. tristate "SHA1 digest algorithm"
  71. depends on S390
  72. select CRYPTO_ALGAPI
  73. help
  74. This is the s390 hardware accelerated implementation of the
  75. SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
  76. config CRYPTO_SHA256_S390
  77. tristate "SHA256 digest algorithm"
  78. depends on S390
  79. select CRYPTO_ALGAPI
  80. help
  81. This is the s390 hardware accelerated implementation of the
  82. SHA256 secure hash standard (DFIPS 180-2).
  83. This version of SHA implements a 256 bit hash with 128 bits of
  84. security against collision attacks.
  85. config CRYPTO_DES_S390
  86. tristate "DES and Triple DES cipher algorithms"
  87. depends on S390
  88. select CRYPTO_ALGAPI
  89. select CRYPTO_BLKCIPHER
  90. help
  91. This us the s390 hardware accelerated implementation of the
  92. DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
  93. config CRYPTO_AES_S390
  94. tristate "AES cipher algorithms"
  95. depends on S390
  96. select CRYPTO_ALGAPI
  97. select CRYPTO_BLKCIPHER
  98. help
  99. This is the s390 hardware accelerated implementation of the
  100. AES cipher algorithms (FIPS-197). AES uses the Rijndael
  101. algorithm.
  102. Rijndael appears to be consistently a very good performer in
  103. both hardware and software across a wide range of computing
  104. environments regardless of its use in feedback or non-feedback
  105. modes. Its key setup time is excellent, and its key agility is
  106. good. Rijndael's very low memory requirements make it very well
  107. suited for restricted-space environments, in which it also
  108. demonstrates excellent performance. Rijndael's operations are
  109. among the easiest to defend against power and timing attacks.
  110. On s390 the System z9-109 currently only supports the key size
  111. of 128 bit.
  112. config S390_PRNG
  113. tristate "Pseudo random number generator device driver"
  114. depends on S390
  115. default "m"
  116. help
  117. Select this option if you want to use the s390 pseudo random number
  118. generator. The PRNG is part of the cryptographic processor functions
  119. and uses triple-DES to generate secure random numbers like the
  120. ANSI X9.17 standard. The PRNG is usable via the char device
  121. /dev/prandom.
  122. config CRYPTO_DEV_HIFN_795X
  123. tristate "Driver HIFN 795x crypto accelerator chips"
  124. select CRYPTO_DES
  125. select CRYPTO_ALGAPI
  126. select CRYPTO_BLKCIPHER
  127. select HW_RANDOM if CRYPTO_DEV_HIFN_795X_RNG
  128. depends on PCI
  129. help
  130. This option allows you to have support for HIFN 795x crypto adapters.
  131. config CRYPTO_DEV_HIFN_795X_RNG
  132. bool "HIFN 795x random number generator"
  133. depends on CRYPTO_DEV_HIFN_795X
  134. help
  135. Select this option if you want to enable the random number generator
  136. on the HIFN 795x crypto adapters.
  137. endif # CRYPTO_HW