Author: hauke Date: 2015-07-05 00:33:00 +0200 (Sun, 05 Jul 2015) New Revision: 46180
Modified: trunk/package/kernel/linux/modules/crypto.mk trunk/package/kernel/linux/modules/other.mk Log: kernel: add crypto-cmac The bluetooth driver needs this new crypto lib in kernel 4.1 Signed-off-by: Hauke Mehrtens <[email protected]> Modified: trunk/package/kernel/linux/modules/crypto.mk =================================================================== --- trunk/package/kernel/linux/modules/crypto.mk 2015-07-04 22:32:04 UTC (rev 46179) +++ trunk/package/kernel/linux/modules/crypto.mk 2015-07-04 22:33:00 UTC (rev 46180) @@ -408,6 +408,18 @@ $(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 Modified: trunk/package/kernel/linux/modules/other.mk =================================================================== --- trunk/package/kernel/linux/modules/other.mk 2015-07-04 22:32:04 UTC (rev 46179) +++ trunk/package/kernel/linux/modules/other.mk 2015-07-04 22:33:00 UTC (rev 46180) @@ -30,7 +30,7 @@ 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 \ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
