Bluetooth: Add basic support for AES-CMAC
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 2 May 2014 11:19:47 +0000 (14:19 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Dec 2014 15:51:16 +0000 (16:51 +0100)
commit407cecf6c71e13da04f6b591bdbec76ab9a251c2
tree84ea05ef859c33cfd6cc3827851b555168db7e0b
parentdf8e1a4c7339f6447e75430e7c8172deddb489a9
Bluetooth: Add basic support for AES-CMAC

Most of the LE Secure Connections SMP crypto functions build on top of
the AES-CMAC function. This patch adds access to AES-CMAC in the kernel
crypto subsystem by allocating a crypto_hash handle for it in a similar
way that we have one for AES-CBC.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/Kconfig
net/bluetooth/smp.c