aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-12-08 14:47:11 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-12-15 14:28:49 +0100
commit6505b084cb8a5609556638247c62245499a172c3 (patch)
treea01ffc61195f0cfcf346038edd3d5557f15cfad9 /package
parent5f67559b421b53c842fa2e7e67ed09b50070a789 (diff)
downloadupstream-6505b084cb8a5609556638247c62245499a172c3.tar.gz
upstream-6505b084cb8a5609556638247c62245499a172c3.tar.bz2
upstream-6505b084cb8a5609556638247c62245499a172c3.zip
kernel: Use crypto_simd.ko instead of lrw.ko for x86
The x86 optimized cryptographic algorithm kernel modules now mostly use crypto_simd.ko instead of lrw.ko in kernel 4.19. Add the new module to the kmod-crypto-misc package. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/crypto.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index 1fc4ffb7ed..e44a785295 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -502,8 +502,9 @@ ifndef CONFIG_TARGET_x86_64
$(LINUX_DIR)/arch/x86/crypto/glue_helper.ko \
$(LINUX_DIR)/crypto/ablk_helper.ko@lt4.17 \
$(LINUX_DIR)/crypto/cryptd.ko \
- $(LINUX_DIR)/crypto/lrw.ko
- AUTOLOAD+= $(call AutoLoad,10,lrw cryptd glue_helper \
+ $(LINUX_DIR)/crypto/lrw.ko@lt4.17 \
+ $(LINUX_DIR)/crypto/crypto_simd.ko@ge4.17
+ AUTOLOAD+= $(call AutoLoad,10,cryptd glue_helper \
serpent-sse2-i586 twofish-i586 blowfish_generic)
endef
endif