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_SKCIPHER 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_SEC2 18 tristate "Support for HiSilicon SEC2 crypto block cipher accelerator" 19 select CRYPTO_BLKCIPHER 20 select CRYPTO_ALGAPI 21 select CRYPTO_LIB_DES 22 select CRYPTO_DEV_HISI_QM 23 depends on PCI && PCI_MSI 24 depends on ARM64 || (COMPILE_TEST && 64BIT) 25 help 26 Support for HiSilicon SEC Engine of version 2 in crypto subsystem. 27 It provides AES, SM4, and 3DES algorithms with ECB 28 CBC, and XTS cipher mode. 29 30 To compile this as a module, choose M here: the module 31 will be called hisi_sec2. 32 33config CRYPTO_DEV_HISI_QM 34 tristate 35 depends on ARM64 || COMPILE_TEST 36 depends on PCI && PCI_MSI 37 help 38 HiSilicon accelerator engines use a common queue management 39 interface. Specific engine driver may use this module. 40 41config CRYPTO_DEV_HISI_ZIP 42 tristate "Support for HiSilicon ZIP accelerator" 43 depends on PCI && PCI_MSI 44 depends on ARM64 || (COMPILE_TEST && 64BIT) 45 depends on !CPU_BIG_ENDIAN || COMPILE_TEST 46 select CRYPTO_DEV_HISI_QM 47 select SG_SPLIT 48 help 49 Support for HiSilicon ZIP Driver 50 51config CRYPTO_DEV_HISI_HPRE 52 tristate "Support for HISI HPRE accelerator" 53 depends on PCI && PCI_MSI 54 depends on ARM64 || (COMPILE_TEST && 64BIT) 55 select CRYPTO_DEV_HISI_QM 56 select CRYPTO_DH 57 select CRYPTO_RSA 58 help 59 Support for HiSilicon HPRE(High Performance RSA Engine) 60 accelerator, which can accelerate RSA and DH algorithms. 61