Kconfig 1.3 KB
Newer Older
1 2 3 4 5 6
# SPDX-License-Identifier: GPL-2.0

config CRYPTO_DEV_HISI_SEC
	tristate "Support for Hisilicon SEC crypto block cipher accelerator"
	select CRYPTO_BLKCIPHER
	select CRYPTO_ALGAPI
7
	select CRYPTO_LIB_DES
8 9 10 11 12 13 14 15
	select SG_SPLIT
	depends on ARM64 || COMPILE_TEST
	depends on HAS_IOMEM
	help
	  Support for Hisilicon SEC Engine in Hip06 and Hip07

	  To compile this as a module, choose M here: the module
	  will be called hisi_sec.
16 17 18

config CRYPTO_DEV_HISI_QM
	tristate
19 20
	depends on ARM64 || COMPILE_TEST
	depends on PCI && PCI_MSI
21
	select NEED_SG_DMA_LENGTH
22 23 24
	help
	  HiSilicon accelerator engines use a common queue management
	  interface. Specific engine driver may use this module.
25

26 27
config CRYPTO_DEV_HISI_ZIP
	tristate "Support for HiSilicon ZIP accelerator"
28 29 30
	depends on PCI && PCI_MSI
	depends on ARM64 || (COMPILE_TEST && 64BIT)
	depends on !CPU_BIG_ENDIAN || COMPILE_TEST
31 32 33 34
	select CRYPTO_DEV_HISI_QM
	select SG_SPLIT
	help
	  Support for HiSilicon ZIP Driver
35 36 37 38 39 40 41 42 43 44 45

config CRYPTO_DEV_HISI_HPRE
	tristate "Support for HISI HPRE accelerator"
	depends on PCI && PCI_MSI
	depends on ARM64 || (COMPILE_TEST && 64BIT)
	select CRYPTO_DEV_HISI_QM
	select CRYPTO_DH
	select CRYPTO_RSA
	help
	  Support for HiSilicon HPRE(High Performance RSA Engine)
	  accelerator, which can accelerate RSA and DH algorithms.