1 # SPDX-License-Identifier: GPL-2.0
3 config CRYPTO_DEV_HISI_SEC
4 tristate "Support for Hisilicon SEC crypto block cipher accelerator"
9 depends on ARM64 || COMPILE_TEST
12 Support for Hisilicon SEC Engine in Hip06 and Hip07
14 To compile this as a module, choose M here: the module
15 will be called hisi_sec.
17 config CRYPTO_DEV_HISI_SEC2
18 tristate "Support for HiSilicon SEC2 crypto block cipher accelerator"
19 select CRYPTO_SKCIPHER
22 select CRYPTO_DEV_HISI_QM
29 select CRYPTO_SM4_GENERIC
31 depends on UACCE || UACCE=n
32 depends on ARM64 || (COMPILE_TEST && 64BIT)
35 Support for HiSilicon SEC Engine of version 2 in crypto subsystem.
36 It provides AES, SM4, and 3DES algorithms with ECB
37 CBC, and XTS cipher mode, and AEAD algorithms.
39 To compile this as a module, choose M here: the module
40 will be called hisi_sec2.
42 config CRYPTO_DEV_HISI_QM
44 depends on ARM64 || COMPILE_TEST
46 depends on UACCE || UACCE=n
49 HiSilicon accelerator engines use a common queue management
50 interface. Specific engine driver may use this module.
52 config CRYPTO_DEV_HISI_ZIP
53 tristate "Support for HiSilicon ZIP accelerator"
55 depends on ARM64 || (COMPILE_TEST && 64BIT)
56 depends on !CPU_BIG_ENDIAN || COMPILE_TEST
57 depends on UACCE || UACCE=n
59 select CRYPTO_DEV_HISI_QM
61 Support for HiSilicon ZIP Driver
63 config CRYPTO_DEV_HISI_HPRE
64 tristate "Support for HISI HPRE accelerator"
66 depends on UACCE || UACCE=n
67 depends on ARM64 || (COMPILE_TEST && 64BIT)
69 select CRYPTO_DEV_HISI_QM
72 select CRYPTO_CURVE25519
75 Support for HiSilicon HPRE(High Performance RSA Engine)
76 accelerator, which can accelerate RSA and DH algorithms.
78 config CRYPTO_DEV_HISI_TRNG
79 tristate "Support for HISI TRNG Driver"
80 depends on ARM64 && ACPI
84 Support for HiSilicon TRNG Driver.