From 6505b084cb8a5609556638247c62245499a172c3 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 8 Dec 2018 14:47:11 +0100 Subject: [PATCH] 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 --- package/kernel/linux/modules/crypto.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 1fc4ffb7ed1..e44a7852955 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 -- 2.30.2