summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-12 01:57:22 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-12 01:57:22 +0000
commit037c19a39c060e221f1663c87084ebb10d176964 (patch)
treed1e77a0406048a6f4a4100a2e59f386b31f1e143
parentb7f9a6cf363b4aee4a6d827ea5660f7ab3b1e55b (diff)
create crypto packages for aead and authenc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11774 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 68ccb60cd1..f8425e809f 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