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> SVN-Revision: 46180
This commit is contained in:
parent
3d10cd51d4
commit
5e3c3d4788
2 changed files with 13 additions and 1 deletions
|
@ -408,6 +408,18 @@ endef
|
||||||
$(eval $(call KernelPackage,crypto-hmac))
|
$(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
|
define KernelPackage/crypto-gcm
|
||||||
TITLE:=GCM/GMAC CryptoAPI module
|
TITLE:=GCM/GMAC CryptoAPI module
|
||||||
DEPENDS:=+kmod-crypto-ctr +kmod-crypto-ghash +kmod-crypto-null
|
DEPENDS:=+kmod-crypto-ctr +kmod-crypto-ghash +kmod-crypto-null
|
||||||
|
|
|
@ -30,7 +30,7 @@ $(eval $(call KernelPackage,6lowpan))
|
||||||
define KernelPackage/bluetooth
|
define KernelPackage/bluetooth
|
||||||
SUBMENU:=$(OTHER_MENU)
|
SUBMENU:=$(OTHER_MENU)
|
||||||
TITLE:=Bluetooth support
|
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:= \
|
KCONFIG:= \
|
||||||
CONFIG_BLUEZ \
|
CONFIG_BLUEZ \
|
||||||
CONFIG_BLUEZ_L2CAP \
|
CONFIG_BLUEZ_L2CAP \
|
||||||
|
|
Loading…
Reference in a new issue