diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2015-07-04 22:33:00 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2015-07-04 22:33:00 +0000 |
commit | 8dcde6b2fd7f552cb9e4331919eb5f9a8cb6ac9b (patch) | |
tree | cdcf9b0f0788552800896fa4bde053135a694eb1 /package/kernel/linux | |
parent | 70b3fd189a9094c4feb0ce98dd0bf5c54d8cefa9 (diff) | |
download | master-187ad058-8dcde6b2fd7f552cb9e4331919eb5f9a8cb6ac9b.tar.gz master-187ad058-8dcde6b2fd7f552cb9e4331919eb5f9a8cb6ac9b.tar.bz2 master-187ad058-8dcde6b2fd7f552cb9e4331919eb5f9a8cb6ac9b.zip |
kernel: add crypto-cmac
The bluetooth driver needs this new crypto lib in kernel 4.1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46180 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/linux')
-rw-r--r-- | package/kernel/linux/modules/crypto.mk | 12 | ||||
-rw-r--r-- | package/kernel/linux/modules/other.mk | 2 |
2 files changed, 13 insertions, 1 deletions
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 diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index d05b0d5758..473f063f55 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -30,7 +30,7 @@ $(eval $(call KernelPackage,6lowpan)) define KernelPackage/bluetooth SUBMENU:=$(OTHER_MENU) TITLE:=Bluetooth support - DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-crypto-ecb +kmod-lib-crc16 +kmod-hid + DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-crypto-ecb +kmod-lib-crc16 +kmod-hid +!LINUX_3_18:kmod-crypto-cmac KCONFIG:= \ CONFIG_BLUEZ \ CONFIG_BLUEZ_L2CAP \ |