crypto: hisilicon - add HiSilicon HPRE accelerator
authorZaibo Xu <xuzaibo@huawei.com>
Mon, 30 Sep 2019 09:20:05 +0000 (17:20 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Oct 2019 12:36:31 +0000 (23:36 +1100)
commitc8b4b477079d1995cc0a1c10d5cdfd02be938cdf
treeca541149e20365a9c52b55316218c61e2a60039f
parenta92a00f809503c6db9dac518951e060ab3d6f6ee
crypto: hisilicon - add HiSilicon HPRE accelerator

The HiSilicon HPRE accelerator implements RSA and DH algorithms. It
uses Hisilicon QM as interface to CPU.

This patch provides PCIe driver to the accelerator and registers its
algorithms to crypto akcipher and kpp interfaces.

Signed-off-by: Zaibo Xu <xuzaibo@huawei.com>
Signed-off-by: Hui Tang <tanghui20@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/Kconfig
drivers/crypto/hisilicon/Makefile
drivers/crypto/hisilicon/hpre/Makefile [new file with mode: 0644]
drivers/crypto/hisilicon/hpre/hpre.h [new file with mode: 0644]
drivers/crypto/hisilicon/hpre/hpre_crypto.c [new file with mode: 0644]
drivers/crypto/hisilicon/hpre/hpre_main.c [new file with mode: 0644]