summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-07-12 01:57:22 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-07-12 01:57:22 +0000
commita4d444f859d79fd38cd7670bf09e41512546d09d (patch)
tree518f4e306f15b2f699a137f9abeb5b3a4694d962 /package/kernel
parent53d4a4018d2fc26f78476bb3768a9427c3ff239a (diff)
downloadmtk-20170518-a4d444f859d79fd38cd7670bf09e41512546d09d.zip
mtk-20170518-a4d444f859d79fd38cd7670bf09e41512546d09d.tar.gz
mtk-20170518-a4d444f859d79fd38cd7670bf09e41512546d09d.tar.bz2
create crypto packages for aead and authenc
SVN-Revision: 11774
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/crypto.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index 68ccb60..f8425e8 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -97,6 +97,28 @@ endef
$(eval $(call KernelPackage,crypto-arc4))
+define KernelPackage/crypto-aead
+ SUBMENU:=$(CRYPTO_MENU)
+ TITLE:=Authenticated Encryption with Associated Data
+ DEPENDS:=+kmod-crypto-core
+ KCONFIG:=CONFIG_CRYPTO_AEAD
+ FILES:=$(LINUX_DIR)/crypto/aead.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,09,aead)
+endef
+
+$(eval $(call KernelPackage,crypto-aead))
+
+define KernelPackage/crypto-authenc
+ SUBMENU:=$(CRYPTO_MENU)
+ TITLE:=Combined mode wrapper for IPsec
+ DEPENDS:=+kmod-crypto-core +kmod-crypto-aead
+ KCONFIG:=CONFIG_CRYPTO_AUTHENC
+ FILES:=$(LINUX_DIR)/crypto/authenc.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,09,authenc)
+endef
+
+$(eval $(call KernelPackage,crypto-authenc))
+
define KernelPackage/crypto-des
SUBMENU:=$(CRYPTO_MENU)
TITLE:=DES/3DES cipher CryptoAPI module