2018-07-23 09:49:54 -06:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
config CRYPTO_DEV_HISI_SEC
|
|
|
|
tristate "Support for Hisilicon SEC crypto block cipher accelerator"
|
|
|
|
select CRYPTO_BLKCIPHER
|
|
|
|
select CRYPTO_ALGAPI
|
2019-08-28 02:07:40 -06:00
|
|
|
select CRYPTO_LIB_DES
|
2018-07-23 09:49:54 -06: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 01:57:50 -06:00
|
|
|
|
|
|
|
config CRYPTO_DEV_HISI_QM
|
|
|
|
tristate
|
|
|
|
depends on ARM64 && PCI && PCI_MSI
|
2019-10-11 05:18:10 -06:00
|
|
|
select NEED_SG_DMA_LENGTH
|
2019-08-02 01:57:50 -06:00
|
|
|
help
|
|
|
|
HiSilicon accelerator engines use a common queue management
|
|
|
|
interface. Specific engine driver may use this module.
|
2019-08-02 01:57:51 -06:00
|
|
|
|
|
|
|
config CRYPTO_HISI_SGL
|
|
|
|
tristate
|
|
|
|
depends on ARM64
|
|
|
|
help
|
|
|
|
HiSilicon accelerator engines use a common hardware scatterlist
|
|
|
|
interface for data format. Specific engine driver may use this
|
|
|
|
module.
|
2019-08-02 01:57:52 -06:00
|
|
|
|
|
|
|
config CRYPTO_DEV_HISI_ZIP
|
|
|
|
tristate "Support for HiSilicon ZIP accelerator"
|
2019-08-14 03:28:36 -06:00
|
|
|
depends on ARM64 && PCI && PCI_MSI
|
2019-08-02 01:57:52 -06:00
|
|
|
select CRYPTO_DEV_HISI_QM
|
|
|
|
select CRYPTO_HISI_SGL
|
|
|
|
help
|
|
|
|
Support for HiSilicon ZIP Driver
|