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 /arch/x86/crypto/Makefile | |
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 'arch/x86/crypto/Makefile')
-rw-r--r-- | arch/x86/crypto/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/crypto/Makefile b/arch/x86/crypto/Makefile index 9414b91b8f49..03cd7313ad4b 100644 --- a/arch/x86/crypto/Makefile +++ b/arch/x86/crypto/Makefile | |||
@@ -26,6 +26,7 @@ obj-$(CONFIG_CRYPTO_CRC32C_INTEL) += crc32c-intel.o | |||
26 | obj-$(CONFIG_CRYPTO_SHA1_SSSE3) += sha1-ssse3.o | 26 | obj-$(CONFIG_CRYPTO_SHA1_SSSE3) += sha1-ssse3.o |
27 | obj-$(CONFIG_CRYPTO_CRC32_PCLMUL) += crc32-pclmul.o | 27 | obj-$(CONFIG_CRYPTO_CRC32_PCLMUL) += crc32-pclmul.o |
28 | obj-$(CONFIG_CRYPTO_SHA256_SSSE3) += sha256-ssse3.o | 28 | obj-$(CONFIG_CRYPTO_SHA256_SSSE3) += sha256-ssse3.o |
29 | obj-$(CONFIG_CRYPTO_SHA512_SSSE3) += sha512-ssse3.o | ||
29 | 30 | ||
30 | # These modules require assembler to support AVX. | 31 | # These modules require assembler to support AVX. |
31 | ifeq ($(avx_supported),yes) | 32 | ifeq ($(avx_supported),yes) |
@@ -68,3 +69,4 @@ crc32c-intel-y := crc32c-intel_glue.o | |||
68 | crc32c-intel-$(CONFIG_64BIT) += crc32c-pcl-intel-asm_64.o | 69 | crc32c-intel-$(CONFIG_64BIT) += crc32c-pcl-intel-asm_64.o |
69 | crc32-pclmul-y := crc32-pclmul_asm.o crc32-pclmul_glue.o | 70 | crc32-pclmul-y := crc32-pclmul_asm.o crc32-pclmul_glue.o |
70 | sha256-ssse3-y := sha256-ssse3-asm.o sha256-avx-asm.o sha256-avx2-asm.o sha256_ssse3_glue.o | 71 | sha256-ssse3-y := sha256-ssse3-asm.o sha256-avx-asm.o sha256-avx2-asm.o sha256_ssse3_glue.o |
72 | sha512-ssse3-y := sha512-ssse3-asm.o sha512-avx-asm.o sha512-avx2-asm.o sha512_ssse3_glue.o | ||