summaryrefslogtreecommitdiff
path: root/package/kernel/modules/crypto.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-12 23:55:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-12 23:55:06 +0000
commit858292316b1470e712a75c880b35562ea25a860a (patch)
treec765e96b00307c22254c7b23729e516df944276c /package/kernel/modules/crypto.mk
parent69c52daa49277db5d5366e9a6294fb3c0d6b3905 (diff)
downloadmtk-20170518-858292316b1470e712a75c880b35562ea25a860a.zip
mtk-20170518-858292316b1470e712a75c880b35562ea25a860a.tar.gz
mtk-20170518-858292316b1470e712a75c880b35562ea25a860a.tar.bz2
move the cbc crypto module out of the crypto core and into a separate package - it is only used for ipsec
SVN-Revision: 25493
Diffstat (limited to 'package/kernel/modules/crypto.mk')
-rw-r--r--package/kernel/modules/crypto.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index aaa9d53..d17e9c6 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -28,7 +28,6 @@ CRYPTO_MODULES = \
BLKCIPHER2=crypto_blkcipher \
HASH2=crypto_hash \
MANAGER2=cryptomgr \
- CBC=cbc \
ECB=ecb
crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1)))
@@ -172,6 +171,16 @@ endef
$(eval $(call KernelPackage,crypto-authenc))
+define KernelPackage/crypto-cbc
+ TITLE:=Cipher Block Chaining CryptoAPI module
+ KCONFIG:=CONFIG_CRYPTO_CBC
+ FILES:=$(LINUX_DIR)/crypto/cbc.ko
+ AUTOLOAD:=$(call AutoLoad,09,cbc)
+ $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-cbc))
+
define KernelPackage/crypto-des
TITLE:=DES/3DES cipher CryptoAPI module
KCONFIG:=CONFIG_CRYPTO_DES