Kconfig 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # SPDX-License-Identifier: GPL-2.0
  2. menu "Accelerated Cryptographic Algorithms for CPU (mips)"
  3. config CRYPTO_CRC32_MIPS
  4. tristate "CRC32c and CRC32"
  5. depends on MIPS_CRC_SUPPORT
  6. select CRYPTO_HASH
  7. help
  8. CRC32c and CRC32 CRC algorithms
  9. Architecture: mips
  10. config CRYPTO_POLY1305_MIPS
  11. tristate "Hash functions: Poly1305"
  12. depends on MIPS
  13. select CRYPTO_ARCH_HAVE_LIB_POLY1305
  14. help
  15. Poly1305 authenticator algorithm (RFC7539)
  16. Architecture: mips
  17. config CRYPTO_MD5_OCTEON
  18. tristate "Digests: MD5 (OCTEON)"
  19. depends on CPU_CAVIUM_OCTEON
  20. select CRYPTO_MD5
  21. select CRYPTO_HASH
  22. help
  23. MD5 message digest algorithm (RFC1321)
  24. Architecture: mips OCTEON using crypto instructions, when available
  25. config CRYPTO_SHA1_OCTEON
  26. tristate "Hash functions: SHA-1 (OCTEON)"
  27. depends on CPU_CAVIUM_OCTEON
  28. select CRYPTO_SHA1
  29. select CRYPTO_HASH
  30. help
  31. SHA-1 secure hash algorithm (FIPS 180)
  32. Architecture: mips OCTEON
  33. config CRYPTO_SHA256_OCTEON
  34. tristate "Hash functions: SHA-224 and SHA-256 (OCTEON)"
  35. depends on CPU_CAVIUM_OCTEON
  36. select CRYPTO_SHA256
  37. select CRYPTO_HASH
  38. help
  39. SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
  40. Architecture: mips OCTEON using crypto instructions, when available
  41. config CRYPTO_SHA512_OCTEON
  42. tristate "Hash functions: SHA-384 and SHA-512 (OCTEON)"
  43. depends on CPU_CAVIUM_OCTEON
  44. select CRYPTO_SHA512
  45. select CRYPTO_HASH
  46. help
  47. SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
  48. Architecture: mips OCTEON using crypto instructions, when available
  49. config CRYPTO_CHACHA_MIPS
  50. tristate "Ciphers: ChaCha20, XChaCha20, XChaCha12 (MIPS32r2)"
  51. depends on CPU_MIPS32_R2
  52. select CRYPTO_SKCIPHER
  53. select CRYPTO_ARCH_HAVE_LIB_CHACHA
  54. help
  55. Length-preserving ciphers: ChaCha20, XChaCha20, and XChaCha12
  56. stream cipher algorithms
  57. Architecture: MIPS32r2
  58. endmenu