summaryrefslogtreecommitdiff
path: root/package/kernel/modules/crypto.mk
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-03-21 14:07:30 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-03-21 14:07:30 +0000
commit627ebde4db07d2148029ee5ad6f52fbc9e7b43c4 (patch)
tree805c991d06f53b2d88eb8cbaae27deebbef2d136 /package/kernel/modules/crypto.mk
parent35ccc68de9627693854301e1758a218e3d0d8fc1 (diff)
downloadmtk-20170518-627ebde4db07d2148029ee5ad6f52fbc9e7b43c4.zip
mtk-20170518-627ebde4db07d2148029ee5ad6f52fbc9e7b43c4.tar.gz
mtk-20170518-627ebde4db07d2148029ee5ad6f52fbc9e7b43c4.tar.bz2
kernel: include aes-i586 and twofish-i586 into crypto packages for x86
SVN-Revision: 20343
Diffstat (limited to 'package/kernel/modules/crypto.mk')
-rw-r--r--package/kernel/modules/crypto.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index a068964..0e161fe 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -149,7 +149,7 @@ $(call KernelPackage/crypto/Depends,)
AUTOLOAD:=$(call AutoLoad,09,aes$(AES_SUFFIX))
endef
-define KernelPackage/crypto-aes/x86-2.6
+define KernelPackage/crypto-aes/x86
FILES+=$(LINUX_DIR)/arch/x86/crypto/aes-i586.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,09,aes$(AES_SUFFIX) aes-i586)
endef
@@ -252,6 +252,7 @@ $(call KernelPackage/crypto/Depends,)
CONFIG_CRYPTO_TEA \
CONFIG_CRYPTO_TGR192 \
CONFIG_CRYPTO_TWOFISH \
+ CONFIG_CRYPTO_TWOFISH_COMMON \
CONFIG_CRYPTO_TWOFISH_586 \
CONFIG_CRYPTO_WP512
FILES:= \
@@ -266,6 +267,7 @@ $(call KernelPackage/crypto/Depends,)
$(LINUX_DIR)/crypto/sha512$(SHA512_SUFFIX).$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/crypto/tea.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/crypto/twofish.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/crypto/twofish_common.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/crypto/wp512.$(LINUX_KMOD_SUFFIX)
endef
@@ -277,6 +279,10 @@ define KernelPackage/crypto-misc/2.6
$(LINUX_DIR)/crypto/tgr192.$(LINUX_KMOD_SUFFIX)
endef
+define KernelPackage/crypto-misc/x86
+ FILES+=$(LINUX_DIR)/arch/x86/crypto/twofish-i586.$(LINUX_KMOD_SUFFIX)
+endef
+
$(eval $(call KernelPackage,crypto-misc))