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)
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

Simple merge
Simple merge