brintos

brintos / linux-shallow public Read only

0
0
Text · 2.3 KiB · 4137a8b Raw
85 lines · plain
1# SPDX-License-Identifier: GPL-2.02 3config CRYPTO_DEV_HISI_SEC4	tristate "Support for Hisilicon SEC crypto block cipher accelerator"5	select CRYPTO_SKCIPHER6	select CRYPTO_ALGAPI7	select CRYPTO_LIB_DES8	select SG_SPLIT9	depends on ARM64 || COMPILE_TEST10	depends on HAS_IOMEM11	help12	  Support for Hisilicon SEC Engine in Hip06 and Hip0713 14	  To compile this as a module, choose M here: the module15	  will be called hisi_sec.16 17config CRYPTO_DEV_HISI_SEC218	tristate "Support for HiSilicon SEC2 crypto block cipher accelerator"19	select CRYPTO_SKCIPHER20	select CRYPTO_ALGAPI21	select CRYPTO_LIB_DES22	select CRYPTO_DEV_HISI_QM23	select CRYPTO_AEAD24	select CRYPTO_AUTHENC25	select CRYPTO_HMAC26	select CRYPTO_SHA127	select CRYPTO_SHA25628	select CRYPTO_SHA51229	select CRYPTO_SM4_GENERIC30	depends on PCI_MSI31	depends on UACCE || UACCE=n32	depends on ARM64 || (COMPILE_TEST && 64BIT)33	depends on ACPI34	help35	  Support for HiSilicon SEC Engine of version 2 in crypto subsystem.36	  It provides AES, SM4, and 3DES algorithms with ECB37	  CBC, and XTS cipher mode, and AEAD algorithms.38 39	  To compile this as a module, choose M here: the module40          will be called hisi_sec2.41 42config CRYPTO_DEV_HISI_QM43	tristate44	depends on ARM64 || COMPILE_TEST45	depends on PCI_MSI46	depends on UACCE || UACCE=n47	depends on ACPI48	help49	  HiSilicon accelerator engines use a common queue management50	  interface. Specific engine driver may use this module.51 52config CRYPTO_DEV_HISI_ZIP53	tristate "Support for HiSilicon ZIP accelerator"54	depends on PCI_MSI55	depends on ARM64 || (COMPILE_TEST && 64BIT)56	depends on !CPU_BIG_ENDIAN || COMPILE_TEST57	depends on UACCE || UACCE=n58	depends on ACPI59	select CRYPTO_DEV_HISI_QM60	help61	  Support for HiSilicon ZIP Driver62 63config CRYPTO_DEV_HISI_HPRE64	tristate "Support for HISI HPRE accelerator"65	depends on PCI_MSI66	depends on UACCE || UACCE=n67	depends on ARM64 || (COMPILE_TEST && 64BIT)68	depends on ACPI69	select CRYPTO_DEV_HISI_QM70	select CRYPTO_DH71	select CRYPTO_RSA72	select CRYPTO_CURVE2551973	select CRYPTO_ECDH74	help75	  Support for HiSilicon HPRE(High Performance RSA Engine)76	  accelerator, which can accelerate RSA and DH algorithms.77 78config CRYPTO_DEV_HISI_TRNG79	tristate "Support for HISI TRNG Driver"80	depends on ARM64 && ACPI81	select HW_RANDOM82	select CRYPTO_RNG83	help84	  Support for HiSilicon TRNG Driver.85