aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2011-06-09 18:50:43 -0300
committerJaikumar Ganesh <jaikumar@google.com>2011-07-11 11:59:21 -0700
commit09fabbca0029353a6b18d11dd084c3eca9599141 (patch)
tree5adf5adb66878e390045e096014d6c9acc8acb88 /include/net/bluetooth
parent13b4839cb23cffc4d432905f0ce3e2b13d331418 (diff)
downloadkernel_samsung_espresso10-09fabbca0029353a6b18d11dd084c3eca9599141.zip
kernel_samsung_espresso10-09fabbca0029353a6b18d11dd084c3eca9599141.tar.gz
kernel_samsung_espresso10-09fabbca0029353a6b18d11dd084c3eca9599141.tar.bz2
Bluetooth: Add support for using the crypto subsystem
This will allow using the crypto subsystem for encrypting data. As SMP (Security Manager Protocol) is implemented almost entirely on the host side and the crypto module already implements the needed methods (AES-128), it makes sense to use it. There's now a new module option to enable/disable SMP support. Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Signed-off-by: Anderson Briglia <anderson.briglia@openbossa.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index f3d530f..e35fd4b 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -177,6 +177,8 @@ struct hci_dev {
__u16 init_last_cmd;
+ struct crypto_blkcipher *tfm;
+
struct inquiry_cache inq_cache;
struct hci_conn_hash conn_hash;
struct list_head blacklist;