zephyr/include/bluetooth
Johan Hedberg a648bbe9a1 Bluetooth: SMP: Add local random number generation support
The SMP procedures require us to establish a local random number. Use
the HCI_LE_Rand command to generate the necessary 16 bytes (the
command needs to be called twice since it only returns 8 bytes at a
time). Store this number in the SMP context.

To help debugging with various crypto related values add a local h()
helper function for printk/BT_DBG to do hexadecimal conversion.

Change-Id: Id3e8793a77ac635023b3cc3a94e8679170455870
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-02-05 20:14:02 -05:00
..
bluetooth.h Fix checkpatch issue - WARNING:SPACING 2016-02-05 20:13:59 -05:00
buf.h Bluetooth: Use 'void *' also for bt_buf_pull/push return value 2016-02-05 20:14:02 -05:00
hci.h Bluetooth: SMP: Add local random number generation support 2016-02-05 20:14:02 -05:00