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 ARM64 || (COMPILE_TEST && 64BIT)
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.
36 To compile this as a module, choose M here: the module
37 will be called hisi_sec2.
39 config CRYPTO_DEV_HISI_QM
41 depends on ARM64 || COMPILE_TEST
42 depends on PCI && PCI_MSI
44 HiSilicon accelerator engines use a common queue management
45 interface. Specific engine driver may use this module.
47 config CRYPTO_DEV_HISI_ZIP
48 tristate "Support for HiSilicon ZIP accelerator"
49 depends on PCI && PCI_MSI
50 depends on ARM64 || (COMPILE_TEST && 64BIT)
51 depends on !CPU_BIG_ENDIAN || COMPILE_TEST
52 select CRYPTO_DEV_HISI_QM
54 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 ARM64 || (COMPILE_TEST && 64BIT)
60 select CRYPTO_DEV_HISI_QM
64 Support for HiSilicon HPRE(High Performance RSA Engine)
65 accelerator, which can accelerate RSA and DH algorithms.