mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Raveendra Padasalagi <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
6999d504d4
commit
53964b9ee6
4 changed files with 340 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue