]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit774422eaabba7956bf5d65e39859d95dd180bad8
treea864c573de6f802eebfcc3d3ec4a8fc4c5577d85
parente126e2657c72f59b4fa006e342e2915f4a321c46
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