]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5c552758e614625096a18270568d34a2fd7dd8df
treeca541149e20365a9c52b55316218c61e2a60039f
parent4ab81a8a89be0f963417949ef55c6e4db35953a5
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]