Bluetooth: Add SMP function for generating RPAs
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 23 Feb 2014 17:42:19 +0000 (19:42 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 23 Feb 2014 20:24:25 +0000 (12:24 -0800)
commitb1e2b3ae97620752905e58a9682fad7222796566
treedd0072842b21d35e57c044d02dacb51ce40f11ed
parent82d4b3592378e88ddbb42a8db9bd4a99c399c3c4
Bluetooth: Add SMP function for generating RPAs

We need a function in smp.c to generate Resolvable Random Addresses in
order to support privacy. The local RPA will need to be generated before
advertising, scanning or connecting and regenerated at periodic
intervals. This patch adds the necessary function for RPA generation.

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