From 8dcde6b2fd7f552cb9e4331919eb5f9a8cb6ac9b Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 4 Jul 2015 22:33:00 +0000 Subject: kernel: add crypto-cmac The bluetooth driver needs this new crypto lib in kernel 4.1 Signed-off-by: Hauke Mehrtens git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46180 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/linux/modules/crypto.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'package/kernel/linux/modules/crypto.mk') diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 22c790d2ee..074eb23233 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -408,6 +408,18 @@ endef $(eval $(call KernelPackage,crypto-hmac)) +define KernelPackage/crypto-cmac + TITLE:=Support for Cipher-based Message Authentication Code (CMAC) + DEPENDS:=+kmod-crypto-hash + KCONFIG:=CONFIG_CRYPTO_CMAC + FILES:=$(LINUX_DIR)/crypto/cmac.ko + AUTOLOAD:=$(call AutoLoad,09,cmac) + $(call AddDepends/crypto) +endef + +$(eval $(call KernelPackage,crypto-cmac)) + + define KernelPackage/crypto-gcm TITLE:=GCM/GMAC CryptoAPI module DEPENDS:=+kmod-crypto-ctr +kmod-crypto-ghash +kmod-crypto-null -- cgit v1.2.3