xref: /linux/drivers/crypto/hisilicon/Kconfig (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
1# SPDX-License-Identifier: GPL-2.0
2
3config CRYPTO_DEV_HISI_SEC
4	tristate "Support for Hisilicon SEC crypto block cipher accelerator"
5	select CRYPTO_BLKCIPHER
6	select CRYPTO_ALGAPI
7	select CRYPTO_LIB_DES
8	select SG_SPLIT
9	depends on ARM64 || COMPILE_TEST
10	depends on HAS_IOMEM
11	help
12	  Support for Hisilicon SEC Engine in Hip06 and Hip07
13
14	  To compile this as a module, choose M here: the module
15	  will be called hisi_sec.
16
17config CRYPTO_DEV_HISI_QM
18	tristate
19	depends on ARM64 && PCI && PCI_MSI
20	help
21	  HiSilicon accelerator engines use a common queue management
22	  interface. Specific engine driver may use this module.
23
24config CRYPTO_HISI_SGL
25	tristate
26	depends on ARM64
27	help
28	  HiSilicon accelerator engines use a common hardware scatterlist
29	  interface for data format. Specific engine driver may use this
30	  module.
31
32config CRYPTO_DEV_HISI_ZIP
33	tristate "Support for HiSilicon ZIP accelerator"
34	depends on ARM64 && PCI && PCI_MSI
35	select CRYPTO_DEV_HISI_QM
36	select CRYPTO_HISI_SGL
37	select SG_SPLIT
38	help
39	  Support for HiSilicon ZIP Driver
40