aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-29 05:20:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-29 05:20:50 +0000
commit7ae1c1b4e8fd176aa9add1c7009d52f1cbbf1878 (patch)
tree3b0127b0b69745362cc2a58fe5b499964ecbd053 /package/kernel
parentc901f4fcbbef24f95f9c6246430237124dfaeccd (diff)
downloadupstream-7ae1c1b4e8fd176aa9add1c7009d52f1cbbf1878.tar.gz
upstream-7ae1c1b4e8fd176aa9add1c7009d52f1cbbf1878.tar.bz2
upstream-7ae1c1b4e8fd176aa9add1c7009d52f1cbbf1878.zip
linux: modules: crypto: adds ccm package
This patch adds support crypto-ccm modules support. Signed-off-by: Varka Bhadram <varkab@cdac.in> SVN-Revision: 45123
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/crypto.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index d1ae061460..7d47aed9ca 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -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