Kconfig 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. # SPDX-License-Identifier: GPL-2.0
  2. config CRYPTO_DEV_HISI_SEC
  3. tristate "Support for Hisilicon SEC crypto block cipher accelerator"
  4. select CRYPTO_SKCIPHER
  5. select CRYPTO_ALGAPI
  6. select CRYPTO_LIB_DES
  7. select SG_SPLIT
  8. depends on ARM64 || COMPILE_TEST
  9. depends on HAS_IOMEM
  10. help
  11. Support for Hisilicon SEC Engine in Hip06 and Hip07
  12. To compile this as a module, choose M here: the module
  13. will be called hisi_sec.
  14. config CRYPTO_DEV_HISI_SEC2
  15. tristate "Support for HiSilicon SEC2 crypto block cipher accelerator"
  16. select CRYPTO_SKCIPHER
  17. select CRYPTO_ALGAPI
  18. select CRYPTO_LIB_DES
  19. select CRYPTO_DEV_HISI_QM
  20. select CRYPTO_AEAD
  21. select CRYPTO_AUTHENC
  22. select CRYPTO_HMAC
  23. select CRYPTO_SHA1
  24. select CRYPTO_SHA256
  25. select CRYPTO_SHA512
  26. select CRYPTO_SM4_GENERIC
  27. depends on PCI && PCI_MSI
  28. depends on UACCE || UACCE=n
  29. depends on ARM64 || (COMPILE_TEST && 64BIT)
  30. depends on ACPI
  31. help
  32. Support for HiSilicon SEC Engine of version 2 in crypto subsystem.
  33. It provides AES, SM4, and 3DES algorithms with ECB
  34. CBC, and XTS cipher mode, and AEAD algorithms.
  35. To compile this as a module, choose M here: the module
  36. will be called hisi_sec2.
  37. config CRYPTO_DEV_HISI_QM
  38. tristate
  39. depends on ARM64 || COMPILE_TEST
  40. depends on PCI && PCI_MSI
  41. depends on UACCE || UACCE=n
  42. depends on ACPI
  43. help
  44. HiSilicon accelerator engines use a common queue management
  45. interface. Specific engine driver may use this module.
  46. config CRYPTO_DEV_HISI_ZIP
  47. tristate "Support for HiSilicon ZIP accelerator"
  48. depends on PCI && PCI_MSI
  49. depends on ARM64 || (COMPILE_TEST && 64BIT)
  50. depends on !CPU_BIG_ENDIAN || COMPILE_TEST
  51. depends on UACCE || UACCE=n
  52. depends on ACPI
  53. select CRYPTO_DEV_HISI_QM
  54. help
  55. Support for HiSilicon ZIP Driver
  56. config CRYPTO_DEV_HISI_HPRE
  57. tristate "Support for HISI HPRE accelerator"
  58. depends on PCI && PCI_MSI
  59. depends on UACCE || UACCE=n
  60. depends on ARM64 || (COMPILE_TEST && 64BIT)
  61. depends on ACPI
  62. select CRYPTO_DEV_HISI_QM
  63. select CRYPTO_DH
  64. select CRYPTO_RSA
  65. select CRYPTO_CURVE25519
  66. select CRYPTO_ECDH
  67. help
  68. Support for HiSilicon HPRE(High Performance RSA Engine)
  69. accelerator, which can accelerate RSA and DH algorithms.
  70. config CRYPTO_DEV_HISI_TRNG
  71. tristate "Support for HISI TRNG Driver"
  72. depends on ARM64 && ACPI
  73. select HW_RANDOM
  74. select CRYPTO_RNG
  75. help
  76. Support for HiSilicon TRNG Driver.