aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2011-10-28 19:16:12 +0000
committerNicolas Thill <nico@openwrt.org>2011-10-28 19:16:12 +0000
commitc824c76aae78d043251d84518826f6d025c55842 (patch)
tree0006fd2d7e3f65d228cbd142d130dd09e96cecdb
parent4eeb0e12463090d45a53f2dacf79d8e2b8e32ecb (diff)
downloadupstream-c824c76aae78d043251d84518826f6d025c55842.tar.gz
upstream-c824c76aae78d043251d84518826f6d025c55842.tar.bz2
upstream-c824c76aae78d043251d84518826f6d025c55842.zip
package/kernel: move MD4 crypto module in its own package
SVN-Revision: 28660
-rw-r--r--package/kernel/modules/crypto.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index b2f0127107..5f542d11b3 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -294,6 +294,18 @@ endef
$(eval $(call KernelPackage,crypto-hmac))
+define KernelPackage/crypto-md4
+ TITLE:=MD4 digest CryptoAPI module
+ DEPENDS:=+kmod-crypto-hash
+ KCONFIG:=CONFIG_CRYPTO_MD4
+ FILES:=$(LINUX_DIR)/crypto/md4.ko
+ AUTOLOAD:=$(call AutoLoad,09,md4)
+ $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-md4))
+
+
define KernelPackage/crypto-md5
TITLE:=MD5 digest CryptoAPI module
DEPENDS:=+kmod-crypto-hash
@@ -341,7 +353,6 @@ define KernelPackage/crypto-misc
CONFIG_CRYPTO_CAST6 \
CONFIG_CRYPTO_FCRYPT \
CONFIG_CRYPTO_KHAZAD \
- CONFIG_CRYPTO_MD4 \
CONFIG_CRYPTO_SERPENT \
CONFIG_CRYPTO_SHA256 \
CONFIG_CRYPTO_SHA512 \
@@ -359,7 +370,6 @@ define KernelPackage/crypto-misc
$(LINUX_DIR)/crypto/cast6.ko \
$(LINUX_DIR)/crypto/fcrypt.ko \
$(LINUX_DIR)/crypto/khazad.ko \
- $(LINUX_DIR)/crypto/md4.ko \
$(LINUX_DIR)/crypto/serpent.ko \
$(LINUX_DIR)/crypto/sha256_generic.ko \
$(LINUX_DIR)/crypto/sha512_generic.ko \