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> |
||
---|---|---|
.. | ||
bluetooth.h | ||
buf.h | ||
hci.h |