Kconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. menuconfig ARM64_CRYPTO
  2. bool "ARM64 Accelerated Cryptographic Algorithms"
  3. depends on ARM64
  4. help
  5. Say Y here to choose from a selection of cryptographic algorithms
  6. implemented using ARM64 specific CPU features or instructions.
  7. if ARM64_CRYPTO
  8. config CRYPTO_SHA1_ARM64_CE
  9. tristate "SHA-1 digest algorithm (ARMv8 Crypto Extensions)"
  10. depends on ARM64 && KERNEL_MODE_NEON
  11. select CRYPTO_HASH
  12. config CRYPTO_SHA2_ARM64_CE
  13. tristate "SHA-224/SHA-256 digest algorithm (ARMv8 Crypto Extensions)"
  14. depends on ARM64 && KERNEL_MODE_NEON
  15. select CRYPTO_HASH
  16. config CRYPTO_GHASH_ARM64_CE
  17. tristate "GHASH (for GCM chaining mode) using ARMv8 Crypto Extensions"
  18. depends on ARM64 && KERNEL_MODE_NEON
  19. select CRYPTO_HASH
  20. config CRYPTO_AES_ARM64_CE
  21. tristate "AES core cipher using ARMv8 Crypto Extensions"
  22. depends on ARM64 && KERNEL_MODE_NEON
  23. select CRYPTO_ALGAPI
  24. config CRYPTO_AES_ARM64_CE_CCM
  25. tristate "AES in CCM mode using ARMv8 Crypto Extensions"
  26. depends on ARM64 && KERNEL_MODE_NEON
  27. select CRYPTO_ALGAPI
  28. select CRYPTO_AES_ARM64_CE
  29. select CRYPTO_AEAD
  30. config CRYPTO_AES_ARM64_CE_BLK
  31. tristate "AES in ECB/CBC/CTR/XTS modes using ARMv8 Crypto Extensions"
  32. depends on ARM64 && KERNEL_MODE_NEON
  33. select CRYPTO_BLKCIPHER
  34. select CRYPTO_AES_ARM64_CE
  35. select CRYPTO_ABLK_HELPER
  36. config CRYPTO_AES_ARM64_NEON_BLK
  37. tristate "AES in ECB/CBC/CTR/XTS modes using NEON instructions"
  38. depends on ARM64 && KERNEL_MODE_NEON
  39. select CRYPTO_BLKCIPHER
  40. select CRYPTO_AES
  41. select CRYPTO_ABLK_HELPER
  42. config CRYPTO_CRC32_ARM64
  43. tristate "CRC32 and CRC32C using optional ARMv8 instructions"
  44. depends on ARM64
  45. select CRYPTO_HASH
  46. endif