Kconfig 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. # SPDX-License-Identifier: GPL-2.0
  2. menu "Accelerated Cryptographic Algorithms for CPU (powerpc)"
  3. config CRYPTO_CRC32C_VPMSUM
  4. tristate "CRC32c"
  5. depends on PPC64 && ALTIVEC
  6. select CRYPTO_HASH
  7. select CRC32
  8. help
  9. CRC32c CRC algorithm with the iSCSI polynomial (RFC 3385 and RFC 3720)
  10. Architecture: powerpc64 using
  11. - AltiVec extensions
  12. Enable on POWER8 and newer processors for improved performance.
  13. config CRYPTO_CRCT10DIF_VPMSUM
  14. tristate "CRC32T10DIF"
  15. depends on PPC64 && ALTIVEC && CRC_T10DIF
  16. select CRYPTO_HASH
  17. help
  18. CRC16 CRC algorithm used for the T10 (SCSI) Data Integrity Field (DIF)
  19. Architecture: powerpc64 using
  20. - AltiVec extensions
  21. Enable on POWER8 and newer processors for improved performance.
  22. config CRYPTO_VPMSUM_TESTER
  23. tristate "CRC32c and CRC32T10DIF hardware acceleration tester"
  24. depends on CRYPTO_CRCT10DIF_VPMSUM && CRYPTO_CRC32C_VPMSUM
  25. help
  26. Stress test for CRC32c and CRCT10DIF algorithms implemented with
  27. powerpc64 AltiVec extensions (POWER8 vpmsum instructions).
  28. Unless you are testing these algorithms, you don't need this.
  29. config CRYPTO_MD5_PPC
  30. tristate "Digests: MD5"
  31. depends on PPC
  32. select CRYPTO_HASH
  33. help
  34. MD5 message digest algorithm (RFC1321)
  35. Architecture: powerpc
  36. config CRYPTO_SHA1_PPC
  37. tristate "Hash functions: SHA-1"
  38. depends on PPC
  39. help
  40. SHA-1 secure hash algorithm (FIPS 180)
  41. Architecture: powerpc
  42. config CRYPTO_SHA1_PPC_SPE
  43. tristate "Hash functions: SHA-1 (SPE)"
  44. depends on PPC && SPE
  45. help
  46. SHA-1 secure hash algorithm (FIPS 180)
  47. Architecture: powerpc using
  48. - SPE (Signal Processing Engine) extensions
  49. config CRYPTO_SHA256_PPC_SPE
  50. tristate "Hash functions: SHA-224 and SHA-256 (SPE)"
  51. depends on PPC && SPE
  52. select CRYPTO_SHA256
  53. select CRYPTO_HASH
  54. help
  55. SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
  56. Architecture: powerpc using
  57. - SPE (Signal Processing Engine) extensions
  58. config CRYPTO_AES_PPC_SPE
  59. tristate "Ciphers: AES, modes: ECB/CBC/CTR/XTS (SPE)"
  60. depends on PPC && SPE
  61. select CRYPTO_SKCIPHER
  62. help
  63. Block ciphers: AES cipher algorithms (FIPS-197)
  64. Length-preserving ciphers: AES with ECB, CBC, CTR, and XTS modes
  65. Architecture: powerpc using:
  66. - SPE (Signal Processing Engine) extensions
  67. SPE is available for:
  68. - Processor Type: Freescale 8500
  69. - CPU selection: e500 (8540)
  70. This module should only be used for low power (router) devices
  71. without hardware AES acceleration (e.g. caam crypto). It reduces the
  72. size of the AES tables from 16KB to 8KB + 256 bytes and mitigates
  73. timining attacks. Nevertheless it might be not as secure as other
  74. architecture specific assembler implementations that work on 1KB
  75. tables or 256 bytes S-boxes.
  76. endmenu