From: Hauke Mehrtens Date: Sat, 8 Dec 2018 13:47:11 +0000 (+0100) Subject: kernel: Use crypto_simd.ko instead of lrw.ko for x86 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6505b084cb8a5609556638247c62245499a172c3;p=openwrt%2Fstaging%2Fansuel.git 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 --- 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