diff options
author | Jeff Garzik <jeff@garzik.org> | 2016-06-17 10:30:35 +0530 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-06-20 19:25:01 +0800 |
commit | 53964b9ee63b7075931b8df85307c449da564b50 (patch) | |
tree | 5650ca6328973c090a3bf2ea8fdcf8ae58837061 /crypto/Kconfig | |
parent | 6999d504d4be3ddacd7a01ae961886a66b6a53d9 (diff) | |
download | linux-stable-53964b9ee63b7075931b8df85307c449da564b50.tar.gz linux-stable-53964b9ee63b7075931b8df85307c449da564b50.tar.bz2 linux-stable-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/Kconfig | 10 |
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 |