aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/allwinner/Kconfig
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2020-09-18 07:23:01 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2020-09-25 17:48:17 +1000
commitd9b45418a91773b7672e4c60037a28074b495c6d (patch)
tree5c0f039d51bdd7e8ae606542dddce8e369b63b1f /drivers/crypto/allwinner/Kconfig
parentcrypto: sun8i-ss - Add support for the PRNG (diff)
downloadlinux-dev-d9b45418a91773b7672e4c60037a28074b495c6d.tar.xz
linux-dev-d9b45418a91773b7672e4c60037a28074b495c6d.zip
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>
Diffstat (limited to 'drivers/crypto/allwinner/Kconfig')
-rw-r--r--drivers/crypto/allwinner/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/crypto/allwinner/Kconfig b/drivers/crypto/allwinner/Kconfig
index e7740d6f1b75..9afaa350351e 100644
--- a/drivers/crypto/allwinner/Kconfig
+++ b/drivers/crypto/allwinner/Kconfig
@@ -93,3 +93,12 @@ config CRYPTO_DEV_SUN8I_SS_PRNG
help
Select this option if you want to provide kernel-side support for
the Pseudo-Random Number Generator found in the Security System.
+
+config CRYPTO_DEV_SUN8I_SS_HASH
+ bool "Enable support for hash on sun8i-ss"
+ depends on CRYPTO_DEV_SUN8I_SS
+ select MD5
+ select SHA1
+ select SHA256
+ help
+ Say y to enable support for hash algorithms.