xref: /openbmc/linux/drivers/crypto/hisilicon/Kconfig (revision 23966841)
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 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
13	  To compile this as a module, choose M here: the module
14	  will be called hisi_sec.
15
16config CRYPTO_DEV_HISI_QM
17	tristate
18	depends on ARM64 && PCI && PCI_MSI
19	help
20	  HiSilicon accelerator engines use a common queue management
21	  interface. Specific engine driver may use this module.
22
23config CRYPTO_HISI_SGL
24	tristate
25	depends on ARM64
26	help
27	  HiSilicon accelerator engines use a common hardware scatterlist
28	  interface for data format. Specific engine driver may use this
29	  module.
30
31config CRYPTO_DEV_HISI_ZIP
32	tristate "Support for HiSilicon ZIP accelerator"
33	depends on ARM64 && PCI && PCI_MSI
34	select CRYPTO_DEV_HISI_QM
35	select CRYPTO_HISI_SGL
36	select SG_SPLIT
37	help
38	  Support for HiSilicon ZIP Driver
39