drivers: crypto: stm32-hash: add new algorithms support

Add the all SHA-2 (up to 512) and SHA-3 algorithm support.
Update compatible table to add stm32mp13.

Signed-off-by: Thomas BOURGOIN <thomas.bourgoin@foss.st.com>
Co-developed-by: Lionel Debieve <lionel.debieve@foss.st.com>
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com>
Change-Id: Iffafdcef36a087d7ddf5c46608a1ea3043909a1d
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/299725
ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com>
This commit is contained in:
Thomas BOURGOIN
2023-04-05 08:55:19 +02:00
committed by Eric Fourmont
parent 4f497ca27b
commit b666c15e02
2 changed files with 548 additions and 130 deletions

View File

@ -16,6 +16,8 @@ config CRYPTO_DEV_STM32_HASH
select CRYPTO_MD5
select CRYPTO_SHA1
select CRYPTO_SHA256
select CRYPTO_SHA512
select CRYPTO_SHA3
select CRYPTO_ENGINE
help
This enables support for the HASH hw accelerator which can be found

File diff suppressed because it is too large Load Diff