Bluetooth: Add AES crypto context for each HCI device
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 18 Feb 2014 08:40:07 +0000 (10:40 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Feb 2014 08:47:02 +0000 (00:47 -0800)
commit99780a7b639e73d8f8f291fa1a981db883aec47f
tree51ef0e53f4c107447317a933e25a9466bd88ba8e
parent60478054a6af7aa8cceb8218d29d27f165f1c9d3
Bluetooth: Add AES crypto context for each HCI device

Previously the crypto context has only been available for LE SMP
sessions, but now that we'll need to perform operations also during
discovery it makes sense to have this context part of the hci_dev
struct. Later, the context can be removed from the SMP context.

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