18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_HISI_SEC 48c2ecf20Sopenharmony_ci tristate "Support for Hisilicon SEC crypto block cipher accelerator" 58c2ecf20Sopenharmony_ci select CRYPTO_SKCIPHER 68c2ecf20Sopenharmony_ci select CRYPTO_ALGAPI 78c2ecf20Sopenharmony_ci select CRYPTO_LIB_DES 88c2ecf20Sopenharmony_ci select SG_SPLIT 98c2ecf20Sopenharmony_ci depends on ARM64 || COMPILE_TEST 108c2ecf20Sopenharmony_ci depends on HAS_IOMEM 118c2ecf20Sopenharmony_ci help 128c2ecf20Sopenharmony_ci Support for Hisilicon SEC Engine in Hip06 and Hip07 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci To compile this as a module, choose M here: the module 158c2ecf20Sopenharmony_ci will be called hisi_sec. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_HISI_SEC2 188c2ecf20Sopenharmony_ci tristate "Support for HiSilicon SEC2 crypto block cipher accelerator" 198c2ecf20Sopenharmony_ci select CRYPTO_SKCIPHER 208c2ecf20Sopenharmony_ci select CRYPTO_ALGAPI 218c2ecf20Sopenharmony_ci select CRYPTO_LIB_DES 228c2ecf20Sopenharmony_ci select CRYPTO_DEV_HISI_QM 238c2ecf20Sopenharmony_ci select CRYPTO_AEAD 248c2ecf20Sopenharmony_ci select CRYPTO_AUTHENC 258c2ecf20Sopenharmony_ci select CRYPTO_HMAC 268c2ecf20Sopenharmony_ci select CRYPTO_SHA1 278c2ecf20Sopenharmony_ci select CRYPTO_SHA256 288c2ecf20Sopenharmony_ci select CRYPTO_SHA512 298c2ecf20Sopenharmony_ci depends on PCI && PCI_MSI 308c2ecf20Sopenharmony_ci depends on UACCE || UACCE=n 318c2ecf20Sopenharmony_ci depends on ARM64 || (COMPILE_TEST && 64BIT) 328c2ecf20Sopenharmony_ci depends on ACPI 338c2ecf20Sopenharmony_ci help 348c2ecf20Sopenharmony_ci Support for HiSilicon SEC Engine of version 2 in crypto subsystem. 358c2ecf20Sopenharmony_ci It provides AES, SM4, and 3DES algorithms with ECB 368c2ecf20Sopenharmony_ci CBC, and XTS cipher mode, and AEAD algorithms. 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci To compile this as a module, choose M here: the module 398c2ecf20Sopenharmony_ci will be called hisi_sec2. 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_HISI_QM 428c2ecf20Sopenharmony_ci tristate 438c2ecf20Sopenharmony_ci depends on ARM64 || COMPILE_TEST 448c2ecf20Sopenharmony_ci depends on PCI && PCI_MSI 458c2ecf20Sopenharmony_ci depends on UACCE || UACCE=n 468c2ecf20Sopenharmony_ci depends on ACPI 478c2ecf20Sopenharmony_ci help 488c2ecf20Sopenharmony_ci HiSilicon accelerator engines use a common queue management 498c2ecf20Sopenharmony_ci interface. Specific engine driver may use this module. 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_HISI_ZIP 528c2ecf20Sopenharmony_ci tristate "Support for HiSilicon ZIP accelerator" 538c2ecf20Sopenharmony_ci depends on PCI && PCI_MSI 548c2ecf20Sopenharmony_ci depends on ARM64 || (COMPILE_TEST && 64BIT) 558c2ecf20Sopenharmony_ci depends on !CPU_BIG_ENDIAN || COMPILE_TEST 568c2ecf20Sopenharmony_ci depends on UACCE || UACCE=n 578c2ecf20Sopenharmony_ci depends on ACPI 588c2ecf20Sopenharmony_ci select CRYPTO_DEV_HISI_QM 598c2ecf20Sopenharmony_ci help 608c2ecf20Sopenharmony_ci Support for HiSilicon ZIP Driver 618c2ecf20Sopenharmony_ci 628c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_HISI_HPRE 638c2ecf20Sopenharmony_ci tristate "Support for HISI HPRE accelerator" 648c2ecf20Sopenharmony_ci depends on PCI && PCI_MSI 658c2ecf20Sopenharmony_ci depends on UACCE || UACCE=n 668c2ecf20Sopenharmony_ci depends on ARM64 || (COMPILE_TEST && 64BIT) 678c2ecf20Sopenharmony_ci depends on ACPI 688c2ecf20Sopenharmony_ci select CRYPTO_DEV_HISI_QM 698c2ecf20Sopenharmony_ci select CRYPTO_DH 708c2ecf20Sopenharmony_ci select CRYPTO_RSA 718c2ecf20Sopenharmony_ci help 728c2ecf20Sopenharmony_ci Support for HiSilicon HPRE(High Performance RSA Engine) 738c2ecf20Sopenharmony_ci accelerator, which can accelerate RSA and DH algorithms. 74