Bluetooth: Enforce strict Secure Connections Only mode security
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 19 Mar 2014 21:10:25 +0000 (14:10 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 19 Mar 2014 21:30:32 +0000 (23:30 +0200)
commit40b552aa5a0bfa785bc7ddb5c2d7965b1e0bb08d
tree3ea70beb7e49dd1e890efdc6a068756dd7e6d744
parent4e7b2030c452e5d885d36d4f44ef33d6ceb9759a
Bluetooth: Enforce strict Secure Connections Only mode security

In Secure Connections Only mode, it is required that Secure Connections
is used for pairing and that the link key is encrypted with AES-CCM using
a P-256 authenticated combination key. If this is not the case, then new
connection shall be refused or existing connections shall be dropped.

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