diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-03-09 15:19:17 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-03-09 15:39:50 -0400 |
commit | 7ee4ea3692f20b87b0e0d3884d5b2d22ec1a2df0 (patch) | |
tree | 8e3cb5d8a34f9daeb19a97b7d6147d3955b501b1 /net/bluetooth/smp.h | |
parent | 0753c182ef11e27f8f3dea2dc9ca4bcf40019eb5 (diff) |
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>
Diffstat (limited to 'net/bluetooth/smp.h')
-rw-r--r-- | net/bluetooth/smp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/smp.h b/net/bluetooth/smp.h index f55d83617218..f223b9d38b61 100644 --- a/net/bluetooth/smp.h +++ b/net/bluetooth/smp.h | |||
@@ -136,6 +136,8 @@ struct smp_chan { | |||
136 | bdaddr_t id_addr; | 136 | bdaddr_t id_addr; |
137 | u8 id_addr_type; | 137 | u8 id_addr_type; |
138 | u8 irk[16]; | 138 | u8 irk[16]; |
139 | struct smp_csrk *csrk; | ||
140 | struct smp_csrk *slave_csrk; | ||
139 | struct smp_ltk *ltk; | 141 | struct smp_ltk *ltk; |
140 | struct smp_ltk *slave_ltk; | 142 | struct smp_ltk *slave_ltk; |
141 | struct smp_irk *remote_irk; | 143 | struct smp_irk *remote_irk; |