summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-08-08 08:37:17 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-08-14 08:49:19 +0200
commitdefce9e83666658d4420d65e45ab1ad190992f72 (patch)
treeaf8d06908ba1f5c1e568c3408b490ee5c6a70396 /include
parentBluetooth: Add SMP L2CAP channel skeleton (diff)
downloadlinux-defce9e83666658d4420d65e45ab1ad190992f72.tar.xz
linux-defce9e83666658d4420d65e45ab1ad190992f72.zip
Bluetooth: Make AES crypto context private to SMP
Now that we have per-adapter SMP data thanks to the root SMP L2CAP channel we can take advantage of it and attach the AES crypto context (only used for SMP) to it. This means that the smp_irk_matches() and smp_generate_rpa() function can be converted to internally handle the AES context. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci_core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 2571fc1cb1c5..5f0b77b71b45 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -302,7 +302,6 @@ struct hci_dev {
__u32 req_status;
__u32 req_result;
- struct crypto_blkcipher *tfm_aes;
void *smp_data;
struct discovery_state discovery;