crypto: sun8i-ce - support hash algorithms
authorCorentin Labbe <clabbe@baylibre.com>
Fri, 18 Sep 2020 07:23:10 +0000 (07:23 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Sep 2020 07:48:18 +0000 (17:48 +1000)
commit56f6d5aee88d129b2424902cd630f10794550763
treea864c573de6f802eebfcc3d3ec4a8fc4c5577d85
parent6b4f76c2cd9e6c3b026953150dd78cfb25a22ddc
crypto: sun8i-ce - support hash algorithms

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

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-ce/Makefile
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c [new file with mode: 0644]
drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h