Kconfig 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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
  12. depends on MIPS
  13. select CRYPTO_HASH
  14. select CRYPTO_ARCH_HAVE_LIB_POLY1305
  15. default CRYPTO_LIB_POLY1305_INTERNAL
  16. help
  17. Poly1305 authenticator algorithm (RFC7539)
  18. Architecture: mips
  19. config CRYPTO_MD5_OCTEON
  20. tristate "Digests: MD5 (OCTEON)"
  21. depends on CPU_CAVIUM_OCTEON
  22. select CRYPTO_MD5
  23. select CRYPTO_HASH
  24. help
  25. MD5 message digest algorithm (RFC1321)
  26. Architecture: mips OCTEON using crypto instructions, when available
  27. config CRYPTO_SHA1_OCTEON
  28. tristate "Hash functions: SHA-1 (OCTEON)"
  29. depends on CPU_CAVIUM_OCTEON
  30. select CRYPTO_SHA1
  31. select CRYPTO_HASH
  32. help
  33. SHA-1 secure hash algorithm (FIPS 180)
  34. Architecture: mips OCTEON
  35. config CRYPTO_SHA256_OCTEON
  36. tristate "Hash functions: SHA-224 and SHA-256 (OCTEON)"
  37. depends on CPU_CAVIUM_OCTEON
  38. select CRYPTO_SHA256
  39. select CRYPTO_HASH
  40. help
  41. SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
  42. Architecture: mips OCTEON using crypto instructions, when available
  43. config CRYPTO_SHA512_OCTEON
  44. tristate "Hash functions: SHA-384 and SHA-512 (OCTEON)"
  45. depends on CPU_CAVIUM_OCTEON
  46. select CRYPTO_SHA512
  47. select CRYPTO_HASH
  48. help
  49. SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
  50. Architecture: mips OCTEON using crypto instructions, when available
  51. config CRYPTO_CHACHA_MIPS
  52. tristate
  53. depends on CPU_MIPS32_R2
  54. select CRYPTO_SKCIPHER
  55. select CRYPTO_ARCH_HAVE_LIB_CHACHA
  56. default CRYPTO_LIB_CHACHA_INTERNAL
  57. help
  58. Length-preserving ciphers: ChaCha20, XChaCha20, and XChaCha12
  59. stream cipher algorithms
  60. Architecture: MIPS32r2
  61. endmenu