aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ux500/Kconfig
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2015-12-17 13:45:42 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-12-22 20:43:40 +0800
commite4ae86e22edc1647f0ee0c2ab12ec05fce17d782 (patch)
treeadbad6ff81b7690bd7e6ed58538b334c0f1721ab /drivers/crypto/ux500/Kconfig
parentcrypto: ccp - Use precalculated hash from headers (diff)
downloadlinux-dev-e4ae86e22edc1647f0ee0c2ab12ec05fce17d782.tar.xz
linux-dev-e4ae86e22edc1647f0ee0c2ab12ec05fce17d782.zip
crypto: ux500 - Use precalculated hash from headers
Precalculated hash for empty message are now present in hash headers. This patch just use them. Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ux500/Kconfig')
-rw-r--r--drivers/crypto/ux500/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/ux500/Kconfig b/drivers/crypto/ux500/Kconfig
index 30796441b0a6..0e338bf6dfb7 100644
--- a/drivers/crypto/ux500/Kconfig
+++ b/drivers/crypto/ux500/Kconfig
@@ -18,6 +18,8 @@ config CRYPTO_DEV_UX500_HASH
tristate "UX500 crypto driver for HASH block"
depends on CRYPTO_DEV_UX500
select CRYPTO_HASH
+ select CRYPTO_SHA1
+ select CRYPTO_SHA256
help
This selects the hash driver for the UX500_HASH hardware.
Depends on UX500/STM DMA if running in DMA mode.