aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/crypto.mk
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2017-01-04 00:52:18 +0100
committerStijn Tintel <stijn@linux-ipv6.be>2017-01-04 13:20:33 +0100
commited69e932627e94c97a7f45f8a37c4c37532600b8 (patch)
treedba61c10450f3061accb5ef3d771dcb2ab03aa2a /package/kernel/linux/modules/crypto.mk
parent86de53203e31293204fe98602051083583af12f5 (diff)
downloadupstream-ed69e932627e94c97a7f45f8a37c4c37532600b8.tar.gz
upstream-ed69e932627e94c97a7f45f8a37c4c37532600b8.tar.bz2
upstream-ed69e932627e94c97a7f45f8a37c4c37532600b8.zip
kernel/modules: add SSSE3 SHA512 module
This module is optimized for SSSE3/AVX/AVX2. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'package/kernel/linux/modules/crypto.mk')
-rw-r--r--package/kernel/linux/modules/crypto.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index 6e3f2cc1d2..c4f55e5c6f 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -583,7 +583,8 @@ define KernelPackage/crypto-sha512
DEPENDS:=+kmod-crypto-hash
KCONFIG:= \
CONFIG_CRYPTO_SHA512 \
- CONFIG_CRYPTO_SHA512_OCTEON
+ CONFIG_CRYPTO_SHA512_OCTEON \
+ CONFIG_CRYPTO_SHA512_SSSE3
FILES:=$(LINUX_DIR)/crypto/sha512_generic.ko
AUTOLOAD:=$(call AutoLoad,09,sha512_generic)
$(call AddDepends/crypto)
@@ -594,6 +595,11 @@ define KernelPackage/crypto-sha512/octeon
AUTOLOAD:=$(call AutoLoad,09,octeon-sha512)
endef
+define KernelPackage/crypto-sha512/x86/64
+ FILES+=$(LINUX_DIR)/arch/x86/crypto/sha512-ssse3.ko
+ AUTOLOAD:=$(call AutoLoad,09,sha512-ssse3)
+endef
+
$(eval $(call KernelPackage,crypto-sha512))