Skip to content

Commit

Permalink
crypto: hisilicon - Add HiSilicon ADVCA Subsystem
Browse files Browse the repository at this point in the history
HiSilicon ADVCA Subsystem contains various cryptographic devices, including
symmetric key ciphers, hash functions, RSA algorithms, as well as key
ladder and OTP memory.

This patch adds symmetric key cipher driver.

Signed-off-by: David Yang <mmyangfl@gmail.com>
  • Loading branch information
yangfl authored and intel-lab-lkp committed May 13, 2023
1 parent 9a48d60 commit 6f6cb7d
Show file tree
Hide file tree
Showing 4 changed files with 1,537 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/crypto/hisilicon/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# SPDX-License-Identifier: GPL-2.0

config CRYPTO_DEV_HISI_ADVCA
tristate "Support for Hisilicon ADVCA Subsystem"
depends on ARCH_HISI || COMPILE_TEST
select CRYPTO_SKCIPHER
help
Support for Hisilicon ADVCA (Advanced Conditional Access) Subsystem,
which can be found on HiSilicon STB SoCs, such as Hi37xx.

config CRYPTO_DEV_HISI_SEC
tristate "Support for Hisilicon SEC crypto block cipher accelerator"
select CRYPTO_SKCIPHER
Expand Down
1 change: 1 addition & 0 deletions drivers/crypto/hisilicon/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_CRYPTO_DEV_HISI_ADVCA) += advca/
obj-$(CONFIG_CRYPTO_DEV_HISI_HPRE) += hpre/
obj-$(CONFIG_CRYPTO_DEV_HISI_SEC) += sec/
obj-$(CONFIG_CRYPTO_DEV_HISI_SEC2) += sec2/
Expand Down
1 change: 1 addition & 0 deletions drivers/crypto/hisilicon/advca/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_CRYPTO_DEV_HISI_ADVCA) += hisi-advca-muc.o
Loading

0 comments on commit 6f6cb7d

Please sign in to comment.