From a4d444f859d79fd38cd7670bf09e41512546d09d Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Sat, 12 Jul 2008 01:57:22 +0000 Subject: [PATCH] create crypto packages for aead and authenc SVN-Revision: 11774 --- package/kernel/modules/crypto.mk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index 68ccb60cd1c..f8425e809f8 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 -- 2.30.2