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)
33 Support for HiSilicon SEC Engine of version 2 in crypto subsystem.
34 It provides AES, SM4, and 3DES algorithms with ECB
35 CBC, and XTS cipher mode, and AEAD algorithms.
37 To compile this as a module, choose M here: the module
38 will be called hisi_sec2.
40 config CRYPTO_DEV_HISI_QM
42 depends on ARM64 || COMPILE_TEST
43 depends on PCI && PCI_MSI
44 depends on UACCE || UACCE=n
46 HiSilicon accelerator engines use a common queue management
47 interface. Specific engine driver may use this module.
49 config CRYPTO_DEV_HISI_ZIP
50 tristate "Support for HiSilicon ZIP accelerator"
51 depends on PCI && PCI_MSI
52 depends on ARM64 || (COMPILE_TEST && 64BIT)
53 depends on !CPU_BIG_ENDIAN || COMPILE_TEST
54 depends on UACCE || UACCE=n
55 select CRYPTO_DEV_HISI_QM
57 Support for HiSilicon ZIP Driver
59 config CRYPTO_DEV_HISI_HPRE
60 tristate "Support for HISI HPRE accelerator"
61 depends on PCI && PCI_MSI
62 depends on UACCE || UACCE=n
63 depends on ARM64 || (COMPILE_TEST && 64BIT)
64 select CRYPTO_DEV_HISI_QM
68 Support for HiSilicon HPRE(High Performance RSA Engine)
69 accelerator, which can accelerate RSA and DH algorithms.