Linux bluetooth development
 help / color / mirror / Atom feed
* [bluetooth-next 00/13] SMP Key Exchange Support
@ 2011-06-07 22:50 Vinicius Costa Gomes
  2011-06-07 22:50 ` [bluetooth-next 01/13] Bluetooth: Add support for SMP phase 3 (key distribution) Vinicius Costa Gomes
                   ` (13 more replies)
  0 siblings, 14 replies; 18+ messages in thread
From: Vinicius Costa Gomes @ 2011-06-07 22:50 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Vinicius Costa Gomes

Hi,

This will introduce support for Exchanging Keys with remote devices.

The keys will be generated by the kernel and will be notified to
userspace so they can be stored. The management interface will
be used for this communication.

The "new key" event and the "load keys" command had to be changed, so
more information could be added to each key, for example, the long term
key has a 16bit number and a 64bit random value associated with it. But,
userpace isn't aware of the format of those keys, it just knows that they
are present or not.

Another thing that should be noted is that the link_keys list (already
present) is used to store these keys, including the Short Term Key, as
it makes the handling of this type of key more transparent.

The related userspace changes should appear a little after this series.


Cheers,
--

Anderson Lizardo (1):
  Bluetooth: Add support for random destination address

Vinicius Costa Gomes (12):
  Bluetooth: Add support for SMP phase 3 (key distribution)
  Bluetooth: Fix sending wrong IO Capabilities value
  Bluetooth: Add new structures for supporting SM key distribution
  Bluetooth: Add functions to manipulate the link key list for SMP
  Bluetooth: Reject an encryption request when the key isn't found
  Bluetooth: Add support for providing parameters to LE Start
    Encryption
  Bluetooth: Fix SM pairing parameters negotiation
  Bluetooth: Add support for storing the LTK
  Bluetooth: Use the link key list to temporarily store the STK
  Bluetooth: Use the stored LTK for restabilishing security
  Bluetooth: Remove unused field in hci_conn
  Bluetooth: Add support for communicating keys with userspace

 include/net/bluetooth/hci.h      |    4 +
 include/net/bluetooth/hci_core.h |   25 ++++-
 include/net/bluetooth/mgmt.h     |    2 +
 include/net/bluetooth/smp.h      |    1 +
 net/bluetooth/hci_conn.c         |    5 +-
 net/bluetooth/hci_core.c         |   81 ++++++++++++++
 net/bluetooth/hci_event.c        |   18 +++-
 net/bluetooth/l2cap_core.c       |    1 +
 net/bluetooth/mgmt.c             |   60 ++++++++---
 net/bluetooth/smp.c              |  214 ++++++++++++++++++++++++++++++++++----
 10 files changed, 368 insertions(+), 43 deletions(-)

--
1.7.5.4


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-06-09 13:09 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-07 22:50 [bluetooth-next 00/13] SMP Key Exchange Support Vinicius Costa Gomes
2011-06-07 22:50 ` [bluetooth-next 01/13] Bluetooth: Add support for SMP phase 3 (key distribution) Vinicius Costa Gomes
2011-06-07 22:50 ` [bluetooth-next 02/13] Bluetooth: Fix sending wrong IO Capabilities value Vinicius Costa Gomes
2011-06-08  8:20   ` Luiz Augusto von Dentz
2011-06-08 16:30     ` Vinicius Costa Gomes
2011-06-07 22:50 ` [bluetooth-next 03/13] Bluetooth: Add new structures for supporting SM key distribution Vinicius Costa Gomes
2011-06-07 22:50 ` [bluetooth-next 04/13] Bluetooth: Add functions to manipulate the link key list for SMP Vinicius Costa Gomes
2011-06-07 22:50 ` [bluetooth-next 05/13] Bluetooth: Reject an encryption request when the key isn't found Vinicius Costa Gomes
2011-06-07 22:50 ` [bluetooth-next 06/13] Bluetooth: Add support for providing parameters to LE Start Encryption Vinicius Costa Gomes
2011-06-07 22:50 ` [bluetooth-next 07/13] Bluetooth: Fix SM pairing parameters negotiation Vinicius Costa Gomes
2011-06-07 22:50 ` [bluetooth-next 08/13] Bluetooth: Add support for storing the LTK Vinicius Costa Gomes
2011-06-07 22:50 ` [bluetooth-next 09/13] Bluetooth: Use the link key list to temporarily store the STK Vinicius Costa Gomes
2011-06-07 22:50 ` [bluetooth-next 10/13] Bluetooth: Use the stored LTK for restabilishing security Vinicius Costa Gomes
2011-06-07 22:50 ` [bluetooth-next 11/13] Bluetooth: Remove unused field in hci_conn Vinicius Costa Gomes
2011-06-07 22:50 ` [bluetooth-next 12/13] Bluetooth: Add support for communicating keys with userspace Vinicius Costa Gomes
2011-06-07 22:50 ` [bluetooth-next 13/13] Bluetooth: Add support for random destination address Vinicius Costa Gomes
2011-06-09 13:02 ` [bluetooth-next 00/13] SMP Key Exchange Support Luiz Augusto von Dentz
2011-06-09 13:09   ` Anderson Lizardo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox