Kconfig 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4
  2. tristate "Support for Intel Keem Bay OCS AES/SM4 HW acceleration"
  3. depends on HAS_IOMEM
  4. depends on ARCH_KEEMBAY || COMPILE_TEST
  5. select CRYPTO_SKCIPHER
  6. select CRYPTO_AEAD
  7. select CRYPTO_ENGINE
  8. help
  9. Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) AES and
  10. SM4 cipher hardware acceleration for use with Crypto API.
  11. Provides HW acceleration for the following transformations:
  12. cbc(aes), ctr(aes), ccm(aes), gcm(aes), cbc(sm4), ctr(sm4), ccm(sm4)
  13. and gcm(sm4).
  14. Optionally, support for the following transformations can also be
  15. enabled: ecb(aes), cts(cbc(aes)), ecb(sm4) and cts(cbc(sm4)).
  16. config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4_ECB
  17. bool "Support for Intel Keem Bay OCS AES/SM4 ECB HW acceleration"
  18. depends on CRYPTO_DEV_KEEMBAY_OCS_AES_SM4
  19. help
  20. Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)
  21. AES/SM4 ECB mode hardware acceleration for use with Crypto API.
  22. Provides OCS version of ecb(aes) and ecb(sm4)
  23. Intel does not recommend use of ECB mode with AES/SM4.
  24. config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4_CTS
  25. bool "Support for Intel Keem Bay OCS AES/SM4 CTS HW acceleration"
  26. depends on CRYPTO_DEV_KEEMBAY_OCS_AES_SM4
  27. help
  28. Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)
  29. AES/SM4 CBC with CTS mode hardware acceleration for use with
  30. Crypto API.
  31. Provides OCS version of cts(cbc(aes)) and cts(cbc(sm4)).
  32. Intel does not recommend use of CTS mode with AES/SM4.
  33. config CRYPTO_DEV_KEEMBAY_OCS_ECC
  34. tristate "Support for Intel Keem Bay OCS ECC HW acceleration"
  35. depends on ARCH_KEEMBAY || COMPILE_TEST
  36. depends on OF
  37. depends on HAS_IOMEM
  38. select CRYPTO_ECDH
  39. select CRYPTO_ENGINE
  40. help
  41. Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)
  42. Elliptic Curve Cryptography (ECC) hardware acceleration for use with
  43. Crypto API.
  44. Provides OCS acceleration for ECDH-256 and ECDH-384.
  45. Say Y or M if you are compiling for the Intel Keem Bay SoC. The
  46. module will be called keembay-ocs-ecc.
  47. If unsure, say N.
  48. config CRYPTO_DEV_KEEMBAY_OCS_HCU
  49. tristate "Support for Intel Keem Bay OCS HCU HW acceleration"
  50. select CRYPTO_HASH
  51. select CRYPTO_ENGINE
  52. depends on HAS_IOMEM
  53. depends on ARCH_KEEMBAY || COMPILE_TEST
  54. depends on OF
  55. help
  56. Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash
  57. Control Unit (HCU) hardware acceleration for use with Crypto API.
  58. Provides OCS HCU hardware acceleration of sha256, sha384, sha512, and
  59. sm3, as well as the HMAC variant of these algorithms.
  60. Say Y or M if you're building for the Intel Keem Bay SoC. If compiled
  61. as a module, the module will be called keembay-ocs-hcu.
  62. If unsure, say N.
  63. config CRYPTO_DEV_KEEMBAY_OCS_HCU_HMAC_SHA224
  64. bool "Enable sha224 and hmac(sha224) support in Intel Keem Bay OCS HCU"
  65. depends on CRYPTO_DEV_KEEMBAY_OCS_HCU
  66. help
  67. Enables support for sha224 and hmac(sha224) algorithms in the Intel
  68. Keem Bay OCS HCU driver. Intel recommends not to use these
  69. algorithms.
  70. Provides OCS HCU hardware acceleration of sha224 and hmac(224).
  71. If unsure, say N.