aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto/Makefile
diff options
context:
space:
mode:
authorTim Chen <tim.c.chen@linux.intel.com>2013-03-26 16:59:17 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2013-04-25 09:00:57 -0400
commit8275d1aa642295edd34a11a117080384bb9d65c2 (patch)
tree60200502662d5fa75b3d4c120cf740a35ea0def2 /arch/x86/crypto/Makefile
parentd34a460092d857f1616e39eed7eac6f40cea2225 (diff)
crypto: sha256 - Create module providing optimized SHA256 routines using SSSE3, AVX or AVX2 instructions.
We added glue code and config options to create crypto module that uses SSE/AVX/AVX2 optimized SHA256 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/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/crypto/Makefile b/arch/x86/crypto/Makefile
index 83681a317422..9414b91b8f49 100644
--- a/arch/x86/crypto/Makefile
+++ b/arch/x86/crypto/Makefile
@@ -25,6 +25,7 @@ obj-$(CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL) += ghash-clmulni-intel.o
25obj-$(CONFIG_CRYPTO_CRC32C_INTEL) += crc32c-intel.o 25obj-$(CONFIG_CRYPTO_CRC32C_INTEL) += crc32c-intel.o
26obj-$(CONFIG_CRYPTO_SHA1_SSSE3) += sha1-ssse3.o 26obj-$(CONFIG_CRYPTO_SHA1_SSSE3) += sha1-ssse3.o
27obj-$(CONFIG_CRYPTO_CRC32_PCLMUL) += crc32-pclmul.o 27obj-$(CONFIG_CRYPTO_CRC32_PCLMUL) += crc32-pclmul.o
28obj-$(CONFIG_CRYPTO_SHA256_SSSE3) += sha256-ssse3.o
28 29
29# These modules require assembler to support AVX. 30# These modules require assembler to support AVX.
30ifeq ($(avx_supported),yes) 31ifeq ($(avx_supported),yes)
@@ -66,3 +67,4 @@ sha1-ssse3-y := sha1_ssse3_asm.o sha1_ssse3_glue.o
66crc32c-intel-y := crc32c-intel_glue.o 67crc32c-intel-y := crc32c-intel_glue.o
67crc32c-intel-$(CONFIG_64BIT) += crc32c-pcl-intel-asm_64.o 68crc32c-intel-$(CONFIG_64BIT) += crc32c-pcl-intel-asm_64.o
68crc32-pclmul-y := crc32-pclmul_asm.o crc32-pclmul_glue.o 69crc32-pclmul-y := crc32-pclmul_asm.o crc32-pclmul_glue.o
70sha256-ssse3-y := sha256-ssse3-asm.o sha256-avx-asm.o sha256-avx2-asm.o sha256_ssse3_glue.o