create crypto packages for aead and authenc
authorImre Kaloz <kaloz@openwrt.org>
Sat, 12 Jul 2008 01:57:22 +0000 (01:57 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Sat, 12 Jul 2008 01:57:22 +0000 (01:57 +0000)
SVN-Revision: 11774

package/kernel/modules/crypto.mk

index 68ccb60cd1ce1727ddc903fcd702962d90523854..f8425e809f8aaa78a9a02116ff546715c7c06481 100644 (file)
@@ -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