crypto: sun8i-ss - support hash algorithms
authorCorentin Labbe <clabbe@baylibre.com>
Fri, 18 Sep 2020 07:23:01 +0000 (07:23 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Sep 2020 07:48:17 +0000 (17:48 +1000)
commitd9b45418a91773b7672e4c60037a28074b495c6d
tree5c0f039d51bdd7e8ae606542dddce8e369b63b1f
parentac2614d721dea2ff273af19c6c5d508d58a2bb3e
crypto: sun8i-ss - support hash algorithms

The SS support multiples hash algorithms, this patch adds support for
MD5, SHA1, SHA224 and SHA256.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/Kconfig
drivers/crypto/allwinner/sun8i-ss/Makefile
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c [new file with mode: 0644]
drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h