linux: modules: crypto: adds ccm package
authorFelix Fietkau <nbd@openwrt.org>
Sun, 29 Mar 2015 05:20:50 +0000 (05:20 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 29 Mar 2015 05:20:50 +0000 (05:20 +0000)
This patch adds support crypto-ccm modules support.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
SVN-Revision: 45123

package/kernel/linux/modules/crypto.mk

index d1ae0614608b1a604fb2674f3b18780229294275..7d47aed9cacc4b6ba162a52f580cbdaba205c38c 100644 (file)
@@ -316,6 +316,17 @@ endef
 
 $(eval $(call KernelPackage,crypto-ctr))
 
+define KernelPackage/crypto-ccm
+ TITLE:=Support for Counter with CBC MAC (CCM)
+ DEPENDS:=+kmod-crypto-ctr +kmod-crypto-aead
+ KCONFIG:=CONFIG_CRYPTO_CCM
+ FILES:=$(LINUX_DIR)/crypto/ccm.ko
+ AUTOLOAD:=$(call AutoLoad,09,ccm)
+ $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-ccm))
+
 define KernelPackage/crypto-pcbc
   TITLE:=Propagating Cipher Block Chaining CryptoAPI module
   DEPENDS:=+kmod-crypto-manager