1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun 3*4882a593Smuzhiyunconfig CRYPTO_DEV_HISI_SEC 4*4882a593Smuzhiyun tristate "Support for Hisilicon SEC crypto block cipher accelerator" 5*4882a593Smuzhiyun select CRYPTO_SKCIPHER 6*4882a593Smuzhiyun select CRYPTO_ALGAPI 7*4882a593Smuzhiyun select CRYPTO_LIB_DES 8*4882a593Smuzhiyun select SG_SPLIT 9*4882a593Smuzhiyun depends on ARM64 || COMPILE_TEST 10*4882a593Smuzhiyun depends on HAS_IOMEM 11*4882a593Smuzhiyun help 12*4882a593Smuzhiyun Support for Hisilicon SEC Engine in Hip06 and Hip07 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun To compile this as a module, choose M here: the module 15*4882a593Smuzhiyun will be called hisi_sec. 16*4882a593Smuzhiyun 17*4882a593Smuzhiyunconfig CRYPTO_DEV_HISI_SEC2 18*4882a593Smuzhiyun tristate "Support for HiSilicon SEC2 crypto block cipher accelerator" 19*4882a593Smuzhiyun select CRYPTO_SKCIPHER 20*4882a593Smuzhiyun select CRYPTO_ALGAPI 21*4882a593Smuzhiyun select CRYPTO_LIB_DES 22*4882a593Smuzhiyun select CRYPTO_DEV_HISI_QM 23*4882a593Smuzhiyun select CRYPTO_AEAD 24*4882a593Smuzhiyun select CRYPTO_AUTHENC 25*4882a593Smuzhiyun select CRYPTO_HMAC 26*4882a593Smuzhiyun select CRYPTO_SHA1 27*4882a593Smuzhiyun select CRYPTO_SHA256 28*4882a593Smuzhiyun select CRYPTO_SHA512 29*4882a593Smuzhiyun depends on PCI && PCI_MSI 30*4882a593Smuzhiyun depends on UACCE || UACCE=n 31*4882a593Smuzhiyun depends on ARM64 || (COMPILE_TEST && 64BIT) 32*4882a593Smuzhiyun depends on ACPI 33*4882a593Smuzhiyun help 34*4882a593Smuzhiyun Support for HiSilicon SEC Engine of version 2 in crypto subsystem. 35*4882a593Smuzhiyun It provides AES, SM4, and 3DES algorithms with ECB 36*4882a593Smuzhiyun CBC, and XTS cipher mode, and AEAD algorithms. 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun To compile this as a module, choose M here: the module 39*4882a593Smuzhiyun will be called hisi_sec2. 40*4882a593Smuzhiyun 41*4882a593Smuzhiyunconfig CRYPTO_DEV_HISI_QM 42*4882a593Smuzhiyun tristate 43*4882a593Smuzhiyun depends on ARM64 || COMPILE_TEST 44*4882a593Smuzhiyun depends on PCI && PCI_MSI 45*4882a593Smuzhiyun depends on UACCE || UACCE=n 46*4882a593Smuzhiyun depends on ACPI 47*4882a593Smuzhiyun help 48*4882a593Smuzhiyun HiSilicon accelerator engines use a common queue management 49*4882a593Smuzhiyun interface. Specific engine driver may use this module. 50*4882a593Smuzhiyun 51*4882a593Smuzhiyunconfig CRYPTO_DEV_HISI_ZIP 52*4882a593Smuzhiyun tristate "Support for HiSilicon ZIP accelerator" 53*4882a593Smuzhiyun depends on PCI && PCI_MSI 54*4882a593Smuzhiyun depends on ARM64 || (COMPILE_TEST && 64BIT) 55*4882a593Smuzhiyun depends on !CPU_BIG_ENDIAN || COMPILE_TEST 56*4882a593Smuzhiyun depends on UACCE || UACCE=n 57*4882a593Smuzhiyun depends on ACPI 58*4882a593Smuzhiyun select CRYPTO_DEV_HISI_QM 59*4882a593Smuzhiyun help 60*4882a593Smuzhiyun Support for HiSilicon ZIP Driver 61*4882a593Smuzhiyun 62*4882a593Smuzhiyunconfig CRYPTO_DEV_HISI_HPRE 63*4882a593Smuzhiyun tristate "Support for HISI HPRE accelerator" 64*4882a593Smuzhiyun depends on PCI && PCI_MSI 65*4882a593Smuzhiyun depends on UACCE || UACCE=n 66*4882a593Smuzhiyun depends on ARM64 || (COMPILE_TEST && 64BIT) 67*4882a593Smuzhiyun depends on ACPI 68*4882a593Smuzhiyun select CRYPTO_DEV_HISI_QM 69*4882a593Smuzhiyun select CRYPTO_DH 70*4882a593Smuzhiyun select CRYPTO_RSA 71*4882a593Smuzhiyun help 72*4882a593Smuzhiyun Support for HiSilicon HPRE(High Performance RSA Engine) 73*4882a593Smuzhiyun accelerator, which can accelerate RSA and DH algorithms. 74