Bluetooth: Add handler function for receiving LE SC public key
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 6 Jun 2014 08:09:28 +0000 (11:09 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Dec 2014 15:51:17 +0000 (16:51 +0100)
commitd8f8edbe93979bdf1f74cd768e68c7705806f0b9
tree993126792ee303e7ec25bb42d4b3e976fbbc1287
parent3b19146d23884172fe9d05f90924d4da3cdeb468
Bluetooth: Add handler function for receiving LE SC public key

This patch adds a handler function for the LE SC SMP Public Key PDU.
When we receive the key we proceed with generating the shared DHKey
value from the remote public key and local private key.

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