Bluetooth: Add support for SMP phase 3 (key distribution)
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Thu, 7 Jul 2011 21:59:34 +0000 (18:59 -0300)
committerJaikumar Ganesh <jaikumar@google.com>
Mon, 11 Jul 2011 18:59:34 +0000 (11:59 -0700)
commitc1d5e1dab83a08bd5b052f4e5af96a94c3155a08
tree4b399ced9f516143b677020632029f4943b8550a
parent119c689389cc2202a4f3a01bdd43356f9736c042
Bluetooth: Add support for SMP phase 3 (key distribution)

This adds support for generating and distributing all the keys
specified in the third phase of SMP.

This will make possible to re-establish secure connections, resolve
private addresses and sign commands.

For now, the values generated are random.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/smp.h
net/bluetooth/l2cap_core.c
net/bluetooth/smp.c