From 288c6f063a6d275e94841df7a98d0e62da305364 Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 28 Oct 2011 19:16:12 +0000 Subject: [PATCH] package/kernel: move MD4 crypto module in its own package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28660 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/crypto.mk | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index b2f012710..5f542d11b 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 \ -- 2.20.1