diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-07-23 18:49:54 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-08-03 13:06:02 +0300 |
commit | 915e4e8413dacc086efcef4de04fdfdca57e8b1c (patch) | |
tree | b8da9584b5c88324bff0293f7e111633c4a7eadd /drivers/crypto/hisilicon/Kconfig | |
parent | 778bd9924dba13d4816cbf73f9ae1519fe445a25 (diff) | |
download | linux-915e4e8413dacc086efcef4de04fdfdca57e8b1c.tar.xz |
crypto: hisilicon - SEC security accelerator driver
This accelerator is found inside hisilicon hip06 and hip07 SoCs.
Each instance provides a number of queues which feed a different number of
backend acceleration units.
The queues are operating in an out of order mode in the interests of
throughput. The silicon does not do tracking of dependencies between
multiple 'messages' or update of the IVs as appropriate for training.
Hence where relevant we need to do this in software.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/Kconfig')
-rw-r--r-- | drivers/crypto/hisilicon/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig new file mode 100644 index 000000000000..8ca9c503bcb0 --- /dev/null +++ b/drivers/crypto/hisilicon/Kconfig @@ -0,0 +1,14 @@ +# 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 + 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. |