summaryrefslogtreecommitdiff
path: root/drivers/crypto/Kconfig
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2015-12-17 15:45:40 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2015-12-22 15:43:37 +0300
commit8054b8005b9f5ae172dac79a49370bfcc027a0f5 (patch)
treeb7e8156b1e940e2e53c8bb1d280887cbd6d52aac /drivers/crypto/Kconfig
parent0c4c78de0417ced1da92351a3013e631860ea576 (diff)
downloadlinux-8054b8005b9f5ae172dac79a49370bfcc027a0f5.tar.xz
crypto: n2 - 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/Kconfig')
-rw-r--r--drivers/crypto/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 95dccdea4dd1..3a3a1e745ba4 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -194,6 +194,9 @@ config CRYPTO_DEV_NIAGARA2
select CRYPTO_DES
select CRYPTO_BLKCIPHER
select CRYPTO_HASH
+ select CRYPTO_MD5
+ select CRYPTO_SHA1
+ select CRYPTO_SHA256
depends on SPARC64
help
Each core of a Niagara2 processor contains a Stream