HiSilicon ADVCA Subsystem contains various cryptographic devices, including symmetric key ciphers, hash functions, RSA algorithms, as well as key ladder and OTP memory. This series adds symmetric key cipher and SHA algorithm family driver. This series is based on Hi3798Mv100. v2: sorry, I accidentally skipped v1. v3: * use devm_reset_control_get_optional_exclusive * disable clocks if init failed * put device reset when removal * implement import function for sha device * fix typo reported by test bot David Yang (2): crypto: hisilicon - Add HiSilicon ADVCA Subsystem crypto: hisilicon/advca - Add SHA support drivers/crypto/hisilicon/Kconfig | 11 + drivers/crypto/hisilicon/Makefile | 1 + drivers/crypto/hisilicon/advca/Makefile | 2 + .../crypto/hisilicon/advca/hisi-advca-muc.c | 1536 +++++++++++++++++ .../crypto/hisilicon/advca/hisi-advca-sha.c | 658 +++++++ 5 files changed, 2208 insertions(+) create mode 100644 drivers/crypto/hisilicon/advca/Makefile create mode 100644 drivers/crypto/hisilicon/advca/hisi-advca-muc.c create mode 100644 drivers/crypto/hisilicon/advca/hisi-advca-sha.c base-commit: 44c026a73be8038f03dbdeef028b642880cf1511 -- 2.39.2