Bluetooth: Detect SMP SC debug keys
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 31 May 2014 15:52:28 +0000 (18:52 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Dec 2014 15:51:18 +0000 (16:51 +0100)
commitaeb7d461f9c895bb6d09e9d175696849e9f290c8
tree1e3686ac927351e32303d7f11984bdcc3bc51958
parent5e3d3d9b3c0119e6ac86bf77c6ff9f6b0d09bcf5
Bluetooth: Detect SMP SC debug keys

We need to be able to detect if the remote side used a debug key for the
pairing. This patch adds the debug key defines and sets a flag to
indicate that a debug key was used. The debug private key (debug_sk) is
also added in this patch but will only be used in a subsequent patch
when local debug key support is implemented.

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