1 # SPDX-License-Identifier: GPL-2.0
3 config CRYPTO_DEV_HISI_SEC
4 tristate "Support for Hisilicon SEC crypto block cipher accelerator"
9 depends on ARM64 || COMPILE_TEST
12 Support for Hisilicon SEC Engine in Hip06 and Hip07
14 To compile this as a module, choose M here: the module
15 will be called hisi_sec.
17 config CRYPTO_DEV_HISI_SEC2
18 tristate "Support for HiSilicon SEC2 crypto block cipher accelerator"
19 select CRYPTO_SKCIPHER
22 select CRYPTO_DEV_HISI_QM
29 depends on PCI && PCI_MSI
30 depends on UACCE || UACCE=n
31 depends on ARM64 || (COMPILE_TEST && 64BIT)
34 Support for HiSilicon SEC Engine of version 2 in crypto subsystem.
35 It provides AES, SM4, and 3DES algorithms with ECB
36 CBC, and XTS cipher mode, and AEAD algorithms.
38 To compile this as a module, choose M here: the module
39 will be called hisi_sec2.
41 config CRYPTO_DEV_HISI_QM
43 depends on ARM64 || COMPILE_TEST
44 depends on PCI && PCI_MSI
45 depends on UACCE || UACCE=n
48 HiSilicon accelerator engines use a common queue management
49 interface. Specific engine driver may use this module.
51 config CRYPTO_DEV_HISI_ZIP
52 tristate "Support for HiSilicon ZIP accelerator"
53 depends on PCI && PCI_MSI
54 depends on ARM64 || (COMPILE_TEST && 64BIT)
55 depends on !CPU_BIG_ENDIAN || COMPILE_TEST
56 depends on UACCE || UACCE=n
58 select CRYPTO_DEV_HISI_QM
60 Support for HiSilicon ZIP Driver
62 config CRYPTO_DEV_HISI_HPRE
63 tristate "Support for HISI HPRE accelerator"
64 depends on PCI && PCI_MSI
65 depends on UACCE || UACCE=n
66 depends on ARM64 || (COMPILE_TEST && 64BIT)
68 select CRYPTO_DEV_HISI_QM
72 Support for HiSilicon HPRE(High Performance RSA Engine)
73 accelerator, which can accelerate RSA and DH algorithms.
75 config CRYPTO_DEV_HISI_TRNG
76 tristate "Support for HISI TRNG Driver"
77 depends on ARM64 && ACPI
81 Support for HiSilicon TRNG Driver.