Searched refs:rand256 (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/include/net/bluetooth/ |
D | mgmt.h | 310 __u8 rand256[16]; member 325 __u8 rand256[16]; member
|
D | hci.h | 794 __u8 rand256[16]; member 1102 __u8 rand256[16]; member
|
D | hci_core.h | 155 u8 rand256[16]; member 1077 u8 *hash256, u8 *rand256);
|
/linux-4.4.14/net/bluetooth/ |
D | hci_core.c | 2676 u8 *hash256, u8 *rand256) in hci_add_remote_oob_data() argument 2694 if (hash256 && rand256) in hci_add_remote_oob_data() 2699 if (hash256 && rand256) in hci_add_remote_oob_data() 2705 if (hash256 && rand256) { in hci_add_remote_oob_data() 2707 memcpy(data->rand256, rand256, sizeof(data->rand256)); in hci_add_remote_oob_data() 2710 memset(data->rand256, 0, sizeof(data->rand256)); in hci_add_remote_oob_data()
|
D | mgmt.c | 3947 rp_size -= sizeof(mgmt_rp.hash256) + sizeof(mgmt_rp.rand256); in read_local_oob_data_complete() 3962 memcpy(mgmt_rp.rand256, rp->rand256, sizeof(rp->rand256)); in read_local_oob_data_complete() 4064 u8 *rand192, *hash192, *rand256, *hash256; in add_remote_oob_data() local 4099 if (!memcmp(cp->rand256, ZERO_KEY, 16) || in add_remote_oob_data() 4101 rand256 = NULL; in add_remote_oob_data() 4104 rand256 = cp->rand256; in add_remote_oob_data() 4110 hash256, rand256); in add_remote_oob_data() 6704 r256 = rp->rand256; in read_local_oob_ext_data_complete()
|
D | hci_debugfs.c | 241 16, data->hash256, 16, data->rand256); in remote_oob_show()
|
D | hci_event.c | 3946 if (!memcmp(data->rand256, ZERO_KEY, 16) || in bredr_oob_data_present() 4286 memcpy(cp.rand256, data->rand256, sizeof(cp.rand256)); in hci_remote_oob_data_request_evt()
|
D | smp.c | 704 memcpy(smp->rr, oob_data->rand256, 16); in build_pairing_cmd()
|