2018-07-23 15:49:54 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
config CRYPTO_DEV_HISI_SEC
|
|
|
|
tristate "Support for Hisilicon SEC crypto block cipher accelerator"
|
2019-10-25 19:41:13 +00:00
|
|
|
select CRYPTO_SKCIPHER
|
2018-07-23 15:49:54 +00:00
|
|
|
select CRYPTO_ALGAPI
|
2019-08-28 08:07:40 +00:00
|
|
|
select CRYPTO_LIB_DES
|
2018-07-23 15:49:54 +00:00
|
|
|
select SG_SPLIT
|
|
|
|
depends on ARM64 || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
Support for Hisilicon SEC Engine in Hip06 and Hip07
|
|
|
|
|
|
|
|
To compile this as a module, choose M here: the module
|
|
|
|
will be called hisi_sec.
|
2019-08-02 07:57:50 +00:00
|
|
|
|
2019-11-13 11:11:04 +00:00
|
|
|
config CRYPTO_DEV_HISI_SEC2
|
|
|
|
tristate "Support for HiSilicon SEC2 crypto block cipher accelerator"
|
2019-11-29 18:15:56 +00:00
|
|
|
select CRYPTO_SKCIPHER
|
2019-11-13 11:11:04 +00:00
|
|
|
select CRYPTO_ALGAPI
|
|
|
|
select CRYPTO_LIB_DES
|
|
|
|
select CRYPTO_DEV_HISI_QM
|
2020-01-11 02:41:56 +00:00
|
|
|
select CRYPTO_AEAD
|
|
|
|
select CRYPTO_AUTHENC
|
|
|
|
select CRYPTO_HMAC
|
|
|
|
select CRYPTO_SHA1
|
|
|
|
select CRYPTO_SHA256
|
|
|
|
select CRYPTO_SHA512
|
2022-11-25 12:18:11 +00:00
|
|
|
select CRYPTO_SM4_GENERIC
|
2023-01-11 12:02:03 +00:00
|
|
|
depends on PCI_MSI
|
2020-03-30 08:36:43 +00:00
|
|
|
depends on UACCE || UACCE=n
|
2019-11-13 11:11:04 +00:00
|
|
|
depends on ARM64 || (COMPILE_TEST && 64BIT)
|
2020-04-21 04:56:49 +00:00
|
|
|
depends on ACPI
|
2019-11-13 11:11:04 +00:00
|
|
|
help
|
|
|
|
Support for HiSilicon SEC Engine of version 2 in crypto subsystem.
|
|
|
|
It provides AES, SM4, and 3DES algorithms with ECB
|
2020-01-11 02:41:56 +00:00
|
|
|
CBC, and XTS cipher mode, and AEAD algorithms.
|
2019-11-13 11:11:04 +00:00
|
|
|
|
|
|
|
To compile this as a module, choose M here: the module
|
|
|
|
will be called hisi_sec2.
|
|
|
|
|
2019-08-02 07:57:50 +00:00
|
|
|
config CRYPTO_DEV_HISI_QM
|
|
|
|
tristate
|
2019-09-19 14:09:06 +00:00
|
|
|
depends on ARM64 || COMPILE_TEST
|
2023-01-11 12:02:03 +00:00
|
|
|
depends on PCI_MSI
|
2020-02-27 07:12:28 +00:00
|
|
|
depends on UACCE || UACCE=n
|
2020-04-17 07:08:31 +00:00
|
|
|
depends on ACPI
|
2019-08-02 07:57:50 +00:00
|
|
|
help
|
|
|
|
HiSilicon accelerator engines use a common queue management
|
|
|
|
interface. Specific engine driver may use this module.
|
2019-08-02 07:57:51 +00:00
|
|
|
|
2019-08-02 07:57:52 +00:00
|
|
|
config CRYPTO_DEV_HISI_ZIP
|
|
|
|
tristate "Support for HiSilicon ZIP accelerator"
|
2023-01-11 12:02:03 +00:00
|
|
|
depends on PCI_MSI
|
2019-09-19 14:09:06 +00:00
|
|
|
depends on ARM64 || (COMPILE_TEST && 64BIT)
|
|
|
|
depends on !CPU_BIG_ENDIAN || COMPILE_TEST
|
2020-02-27 07:12:28 +00:00
|
|
|
depends on UACCE || UACCE=n
|
2020-04-21 04:56:49 +00:00
|
|
|
depends on ACPI
|
2019-08-02 07:57:52 +00:00
|
|
|
select CRYPTO_DEV_HISI_QM
|
|
|
|
help
|
|
|
|
Support for HiSilicon ZIP Driver
|
2019-09-30 09:20:05 +00:00
|
|
|
|
|
|
|
config CRYPTO_DEV_HISI_HPRE
|
|
|
|
tristate "Support for HISI HPRE accelerator"
|
2023-01-11 12:02:03 +00:00
|
|
|
depends on PCI_MSI
|
2020-03-30 08:36:43 +00:00
|
|
|
depends on UACCE || UACCE=n
|
2019-09-30 09:20:05 +00:00
|
|
|
depends on ARM64 || (COMPILE_TEST && 64BIT)
|
2020-04-21 04:56:49 +00:00
|
|
|
depends on ACPI
|
2019-09-30 09:20:05 +00:00
|
|
|
select CRYPTO_DEV_HISI_QM
|
|
|
|
select CRYPTO_DH
|
|
|
|
select CRYPTO_RSA
|
2021-03-19 10:45:39 +00:00
|
|
|
select CRYPTO_CURVE25519
|
|
|
|
select CRYPTO_ECDH
|
2019-09-30 09:20:05 +00:00
|
|
|
help
|
|
|
|
Support for HiSilicon HPRE(High Performance RSA Engine)
|
|
|
|
accelerator, which can accelerate RSA and DH algorithms.
|
2020-11-20 09:02:32 +00:00
|
|
|
|
|
|
|
config CRYPTO_DEV_HISI_TRNG
|
|
|
|
tristate "Support for HISI TRNG Driver"
|
|
|
|
depends on ARM64 && ACPI
|
|
|
|
select HW_RANDOM
|
2020-11-20 09:02:33 +00:00
|
|
|
select CRYPTO_RNG
|
2020-11-20 09:02:32 +00:00
|
|
|
help
|
|
|
|
Support for HiSilicon TRNG Driver.
|