summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2016-06-17 10:30:35 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2016-06-20 19:25:01 +0800
commit53964b9ee63b7075931b8df85307c449da564b50 (patch)
tree5650ca6328973c090a3bf2ea8fdcf8ae58837061 /crypto/Kconfig
parent6999d504d4be3ddacd7a01ae961886a66b6a53d9 (diff)
downloadlwn-53964b9ee63b7075931b8df85307c449da564b50.tar.gz
lwn-53964b9ee63b7075931b8df85307c449da564b50.zip
crypto: sha3 - Add SHA-3 hash algorithm
This patch adds the implementation of SHA3 algorithm in software and it's based on original implementation pushed in patch https://lwn.net/Articles/518415/ with additional changes to match the padding rules specified in SHA-3 specification. Signed-off-by: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index c903f1832f2c..6881d1a5f859 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -750,6 +750,16 @@ config CRYPTO_SHA512_SPARC64
SHA-512 secure hash standard (DFIPS 180-2) implemented
using sparc64 crypto instructions, when available.
+config CRYPTO_SHA3
+ tristate "SHA3 digest algorithm"
+ select CRYPTO_HASH
+ help
+ SHA-3 secure hash standard (DFIPS 202). It's based on
+ cryptographic sponge function family called Keccak.
+
+ References:
+ http://keccak.noekeon.org/
+
config CRYPTO_TGR192
tristate "Tiger digest algorithms"
select CRYPTO_HASH