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
commitdc4b27a1bc222c3b264b4d4b66da63e9cea6b055 (patch)
tree74749732efa8040862e1a0b13a87aeec855a8fed /crypto/Kconfig
parent4cdf2b0415e486ca89f94d4e65dba93af2be6a5b (diff)
downloadlinux-crypto-dc4b27a1bc222c3b264b4d4b66da63e9cea6b055.tar.gz
linux-crypto-dc4b27a1bc222c3b264b4d4b66da63e9cea6b055.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 c903f183..6881d1a5 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