diff options
author | Tim Chen <tim.c.chen@linux.intel.com> | 2013-03-26 17:00:02 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-25 09:01:42 -0400 |
commit | 87de4579f92dbe50e92f33b94f8688793c894571 (patch) | |
tree | 7e1491364f815e0a5115036ffb18a7a645d6f23b /crypto | |
parent | 5663535b69eef3940dcdb3110f95651304fe41af (diff) |
crypto: sha512 - Create module providing optimized SHA512 routines using SSSE3, AVX or AVX2 instructions.
We added glue code and config options to create crypto
module that uses SSE/AVX/AVX2 optimized SHA512 x86_64 assembly routines.
Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 8064ef1fedc4..a654b13ae004 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -481,6 +481,17 @@ config CRYPTO_SHA256_SSSE3 | |||
481 | Extensions version 1 (AVX1), or Advanced Vector Extensions | 481 | Extensions version 1 (AVX1), or Advanced Vector Extensions |
482 | version 2 (AVX2) instructions, when available. | 482 | version 2 (AVX2) instructions, when available. |
483 | 483 | ||
484 | config CRYPTO_SHA512_SSSE3 | ||
485 | tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)" | ||
486 | depends on X86 && 64BIT | ||
487 | select CRYPTO_SHA512 | ||
488 | select CRYPTO_HASH | ||
489 | help | ||
490 | SHA-512 secure hash standard (DFIPS 180-2) implemented | ||
491 | using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector | ||
492 | Extensions version 1 (AVX1), or Advanced Vector Extensions | ||
493 | version 2 (AVX2) instructions, when available. | ||
494 | |||
484 | config CRYPTO_SHA1_SPARC64 | 495 | config CRYPTO_SHA1_SPARC64 |
485 | tristate "SHA1 digest algorithm (SPARC64)" | 496 | tristate "SHA1 digest algorithm (SPARC64)" |
486 | depends on SPARC64 | 497 | depends on SPARC64 |