Skip to content

Commit

Permalink
crypto: hisilicon/advca - Add SHA support
Browse files Browse the repository at this point in the history
Add driver for SHA algorithm family.

Support for state injection was not tested due to lack of such device.

Signed-off-by: David Yang <mmyangfl@gmail.com>
  • Loading branch information
yangfl authored and intel-lab-lkp committed May 13, 2023
1 parent 6f6cb7d commit 57ff91a
Show file tree
Hide file tree
Showing 3 changed files with 648 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/crypto/hisilicon/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ config CRYPTO_DEV_HISI_ADVCA
tristate "Support for Hisilicon ADVCA Subsystem"
depends on ARCH_HISI || COMPILE_TEST
select CRYPTO_SKCIPHER
select CRYPTO_HASH
select CRYPTO_SHA1
select CRYPTO_SHA256
help
Support for Hisilicon ADVCA (Advanced Conditional Access) Subsystem,
which can be found on HiSilicon STB SoCs, such as Hi37xx.
Expand Down
1 change: 1 addition & 0 deletions drivers/crypto/hisilicon/advca/Makefile
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
obj-$(CONFIG_CRYPTO_DEV_HISI_ADVCA) += hisi-advca-muc.o
obj-$(CONFIG_CRYPTO_DEV_HISI_ADVCA) += hisi-advca-sha.o
Loading

0 comments on commit 57ff91a

Please sign in to comment.