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)
committerGustavo F. Padovan <padovan@profusion.mobi>
Fri, 8 Jul 2011 20:07:43 +0000 (17:07 -0300)
commit7034b911af1aa571995b56db3ed71a25daf00373
tree89325f75fef679c8d6657ee6d971aa36823cc962
parentfadd192e81b0a8d8086531b8c11bd88b311b68c2
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