2018-07-23 22:49:54 +07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
config CRYPTO_DEV_HISI_SEC
|
|
|
|
tristate "Support for Hisilicon SEC crypto block cipher accelerator"
|
2019-10-26 02:41:13 +07:00
|
|
|
select CRYPTO_SKCIPHER
|
2018-07-23 22:49:54 +07:00
|
|
|
select CRYPTO_ALGAPI
|
2019-08-28 15:07:40 +07:00
|
|
|
select CRYPTO_LIB_DES
|
2018-07-23 22:49:54 +07: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 14:57:50 +07:00
|
|
|
|
2019-11-13 18:11:04 +07:00
|
|
|
config CRYPTO_DEV_HISI_SEC2
|
|
|
|
tristate "Support for HiSilicon SEC2 crypto block cipher accelerator"
|
|
|
|
select CRYPTO_BLKCIPHER
|
|
|
|
select CRYPTO_ALGAPI
|
|
|
|
select CRYPTO_LIB_DES
|
|
|
|
select CRYPTO_DEV_HISI_QM
|
|
|
|
depends on PCI && PCI_MSI
|
|
|
|
depends on ARM64 || (COMPILE_TEST && 64BIT)
|
|
|
|
help
|
|
|
|
Support for HiSilicon SEC Engine of version 2 in crypto subsystem.
|
|
|
|
It provides AES, SM4, and 3DES algorithms with ECB
|
|
|
|
CBC, and XTS cipher mode.
|
|
|
|
|
|
|
|
To compile this as a module, choose M here: the module
|
|
|
|
will be called hisi_sec2.
|
|
|
|
|
2019-08-02 14:57:50 +07:00
|
|
|
config CRYPTO_DEV_HISI_QM
|
|
|
|
tristate
|
2019-09-19 21:09:06 +07:00
|
|
|
depends on ARM64 || COMPILE_TEST
|
|
|
|
depends on PCI && PCI_MSI
|
2019-08-02 14:57:50 +07:00
|
|
|
help
|
|
|
|
HiSilicon accelerator engines use a common queue management
|
|
|
|
interface. Specific engine driver may use this module.
|
2019-08-02 14:57:51 +07:00
|
|
|
|
2019-08-02 14:57:52 +07:00
|
|
|
config CRYPTO_DEV_HISI_ZIP
|
|
|
|
tristate "Support for HiSilicon ZIP accelerator"
|
2019-09-19 21:09:06 +07:00
|
|
|
depends on PCI && PCI_MSI
|
|
|
|
depends on ARM64 || (COMPILE_TEST && 64BIT)
|
|
|
|
depends on !CPU_BIG_ENDIAN || COMPILE_TEST
|
2019-08-02 14:57:52 +07:00
|
|
|
select CRYPTO_DEV_HISI_QM
|
|
|
|
select SG_SPLIT
|
|
|
|
help
|
|
|
|
Support for HiSilicon ZIP Driver
|
2019-09-30 16:20:05 +07:00
|
|
|
|
|
|
|
config CRYPTO_DEV_HISI_HPRE
|
|
|
|
tristate "Support for HISI HPRE accelerator"
|
|
|
|
depends on PCI && PCI_MSI
|
|
|
|
depends on ARM64 || (COMPILE_TEST && 64BIT)
|
|
|
|
select CRYPTO_DEV_HISI_QM
|
|
|
|
select CRYPTO_DH
|
|
|
|
select CRYPTO_RSA
|
|
|
|
help
|
|
|
|
Support for HiSilicon HPRE(High Performance RSA Engine)
|
|
|
|
accelerator, which can accelerate RSA and DH algorithms.
|