summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2016-02-19 11:49:03 +0000
committerSteven Barth <cyrus@openwrt.org>2016-02-19 11:49:03 +0000
commitd179611006293a0c2474f32fc8c4460861a92e06 (patch)
tree6d40710cf9778b20ad0df62d06ed3624f758255f
parentb9e910d6588115bfa25181a08c24ead09c59af8b (diff)
downloadmtk-20170518-d179611006293a0c2474f32fc8c4460861a92e06.zip
mtk-20170518-d179611006293a0c2474f32fc8c4460861a92e06.tar.gz
mtk-20170518-d179611006293a0c2474f32fc8c4460861a92e06.tar.bz2
kernel: fix chainiv crypto modules in 4.3+ kernels
Signed-off-by: Steven Barth <cyrus@openwrt.org> SVN-Revision: 48745
-rw-r--r--package/kernel/linux/modules/crypto.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index b943e4d..818a846 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -123,11 +123,12 @@ $(eval $(call KernelPackage,crypto-rng))
define KernelPackage/crypto-iv
TITLE:=CryptoAPI initialization vectors
DEPENDS:=+kmod-crypto-manager +kmod-crypto-rng +kmod-crypto-wq
- KCONFIG:= CONFIG_CRYPTO_BLKCIPHER2
+ KCONFIG:= CONFIG_CRYPTO_BLKCIPHER2 CONFIG_CRYPTO_ECHAINIV
FILES:= \
$(LINUX_DIR)/crypto/eseqiv.ko \
- $(LINUX_DIR)/crypto/chainiv.ko
- AUTOLOAD:=$(call AutoLoad,10,eseqiv chainiv)
+ $(LINUX_DIR)/crypto/chainiv.ko \
+ $(LINUX_DIR)/crypto/echainiv.ko@ge4.3
+ AUTOLOAD:=$(call AutoLoad,10,eseqiv chainiv echainiv@ge4.3)
$(call AddDepends/crypto)
endef