mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
sparc64: Add SHA384/SHA512 driver making use of the 'sha512' instruction.
Signed-off-by: David S. Miller <[email protected]> Acked-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
86c93b24ef
commit
775e0c6998
4 changed files with 335 additions and 0 deletions
|
|
@ -475,6 +475,15 @@ config CRYPTO_SHA512
|
|||
This code also includes SHA-384, a 384 bit hash with 192 bits
|
||||
of security against collision attacks.
|
||||
|
||||
config CRYPTO_SHA512_SPARC64
|
||||
tristate "SHA384 and SHA512 digest algorithm (SPARC64)"
|
||||
depends on SPARC64
|
||||
select CRYPTO_SHA512
|
||||
select CRYPTO_HASH
|
||||
help
|
||||
SHA-512 secure hash standard (DFIPS 180-2) implemented
|
||||
using sparc64 crypto instructions, when available.
|
||||
|
||||
config CRYPTO_TGR192
|
||||
tristate "Tiger digest algorithms"
|
||||
select CRYPTO_HASH
|
||||
|
|
|
|||
Loading…
Reference in a new issue