Kconfig 4.9 KB

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