Searched refs:rand256 (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/include/net/bluetooth/ |
D | mgmt.h | 311 __u8 rand256[16]; member 326 __u8 rand256[16]; member
|
D | hci.h | 831 __u8 rand256[16]; member 1139 __u8 rand256[16]; member
|
D | hci_core.h | 159 u8 rand256[16]; member 1107 u8 *hash256, u8 *rand256);
|
/Linux-v4.19/net/bluetooth/ |
D | hci_core.c | 2630 u8 *hash256, u8 *rand256) in hci_add_remote_oob_data() argument 2648 if (hash256 && rand256) in hci_add_remote_oob_data() 2653 if (hash256 && rand256) in hci_add_remote_oob_data() 2659 if (hash256 && rand256) { in hci_add_remote_oob_data() 2661 memcpy(data->rand256, rand256, sizeof(data->rand256)); in hci_add_remote_oob_data() 2664 memset(data->rand256, 0, sizeof(data->rand256)); in hci_add_remote_oob_data()
|
D | mgmt.c | 3573 rp_size -= sizeof(mgmt_rp.hash256) + sizeof(mgmt_rp.rand256); in read_local_oob_data_complete() 3588 memcpy(mgmt_rp.rand256, rp->rand256, sizeof(rp->rand256)); in read_local_oob_data_complete() 3690 u8 *rand192, *hash192, *rand256, *hash256; in add_remote_oob_data() local 3725 if (!memcmp(cp->rand256, ZERO_KEY, 16) || in add_remote_oob_data() 3727 rand256 = NULL; in add_remote_oob_data() 3730 rand256 = cp->rand256; in add_remote_oob_data() 3736 hash256, rand256); in add_remote_oob_data() 6086 r256 = rp->rand256; in read_local_oob_ext_data_complete()
|
D | hci_debugfs.c | 190 16, data->hash256, 16, data->rand256); in remote_oob_show()
|
D | hci_event.c | 4270 if (!memcmp(data->rand256, ZERO_KEY, 16) || in bredr_oob_data_present() 4610 memcpy(cp.rand256, data->rand256, sizeof(cp.rand256)); in hci_remote_oob_data_request_evt()
|
D | smp.c | 710 memcpy(smp->rr, oob_data->rand256, 16); in build_pairing_cmd()
|