Bluetooth: Add function for generating LE SC out-of-band data
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Mar 2015 08:10:22 +0000 (01:10 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Mar 2015 08:31:27 +0000 (10:31 +0200)
commit60a27d653d972584e5e98ab3558c62c3d3bc547a
tree0f77d9476e41e867ea89c4011d0188db70a204a8
parent6e2dc6d1133f5f8bfd028ba7d1c3fb0b3fa717e9
Bluetooth: Add function for generating LE SC out-of-band data

This patch adds a smp_generate_oob function that allows to create
local out-of-band data that can be used for pairing and also provides
the confirmation and random value.

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