]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add support for handling signature resolving keys
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 9 Mar 2014 19:19:17 +0000 (12:19 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 9 Mar 2014 19:39:50 +0000 (21:39 +0200)
commitb4f0b26d8e9b44abe917739ade730dbd9bcc1667
tree8e3cb5d8a34f9daeb19a97b7d6147d3955b501b1
parent380b5a32c77793b5c8bfc15043f1b9edb4b63018
Bluetooth: Add support for handling signature resolving keys

The connection signature resolving key (CSRK) is used for attribute
protocol signed write procedures. This change generates a new local
key during pairing and requests the peer key as well.

Newly generated key and received key will be provided to userspace
using the New Signature Resolving Key management event.

The Master CSRK can be used for verification of remote signed write
PDUs and the Slave CSRK can be used for sending signed write PDUs
to the remote device.

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