summaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/crypto.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-02-12 08:31:54 +0000
committerJohn Crispin <john@openwrt.org>2016-02-12 08:31:54 +0000
commit4d434d6468a38e7306a9950dc67ae921e796fe7e (patch)
treed3b5cfe395dd08967608f528fc0ec28f19853ce6 /package/kernel/linux/modules/crypto.mk
parent290534c7afa49004c02a3128a7bafa185dcd2452 (diff)
downloadmtk-20170518-4d434d6468a38e7306a9950dc67ae921e796fe7e.zip
mtk-20170518-4d434d6468a38e7306a9950dc67ae921e796fe7e.tar.gz
mtk-20170518-4d434d6468a38e7306a9950dc67ae921e796fe7e.tar.bz2
linux/crypto: Add echainiv module provided by 4.4 kernels
This module is needed for IPsec ESP support, i.e.. Signed-off-by: André Valentin <avalentin@marcant.net> SVN-Revision: 48714
Diffstat (limited to 'package/kernel/linux/modules/crypto.mk')
-rw-r--r--package/kernel/linux/modules/crypto.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index a47a1b6..dddddcc 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -133,6 +133,18 @@ endef
$(eval $(call KernelPackage,crypto-iv))
+
+define KernelPackage/crypto-echainiv
+ TITLE:=Encrypted Chain IV Generator
+ KCONFIG:=CONFIG_CRYPTO_ECHAINIV
+ FILES:=$(LINUX_DIR)/crypto/echainiv.ko
+ AUTOLOAD:=$(call AutoLoad,09,echainiv)
+ $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-echainiv))
+
+
define KernelPackage/crypto-seqiv
TITLE:=CryptoAPI Sequence Number IV Generator
DEPENDS:=+kmod-crypto-aead +kmod-crypto-rng