commit | 6a7bd103c8a4286ef6f7134bfe6f104f32f2c4d4 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Fri Jun 27 14:23:03 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Jul 03 17:42:47 2014 +0200 |
tree | 27e16726a191933d391c3db58ab2fc6625463d44 | |
parent | 31dd624e1cf937655a06fa4eeec06f4bafa34ab7 [diff] |
Bluetooth: Add dedicated AES instance for each SMP context Many places have to be extra careful to not hold the hdev lock when calling into the SMP code. This is because the SMP crypto functions use the crypto handle that's part of the hci_dev struct. Giving the SMP context its own handle helps simplifying the locking logic and removes the risk for deadlocks. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>