Home
last modified time | relevance | path

Searched refs:rand256 (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/include/net/bluetooth/
Dmgmt.h318 __u8 rand256[16]; member
333 __u8 rand256[16]; member
Dhci.h904 __u8 rand256[16]; member
1250 __u8 rand256[16]; member
Dhci_core.h219 u8 rand256[16]; member
1346 u8 *hash256, u8 *rand256);
/Linux-v5.15/net/bluetooth/
Dhci_core.c2851 u8 *hash256, u8 *rand256) in hci_add_remote_oob_data() argument
2869 if (hash256 && rand256) in hci_add_remote_oob_data()
2874 if (hash256 && rand256) in hci_add_remote_oob_data()
2880 if (hash256 && rand256) { in hci_add_remote_oob_data()
2882 memcpy(data->rand256, rand256, sizeof(data->rand256)); in hci_add_remote_oob_data()
2885 memset(data->rand256, 0, sizeof(data->rand256)); in hci_add_remote_oob_data()
Dmgmt.c4612 rp_size -= sizeof(mgmt_rp.hash256) + sizeof(mgmt_rp.rand256); in read_local_oob_data_complete()
4627 memcpy(mgmt_rp.rand256, rp->rand256, sizeof(rp->rand256)); in read_local_oob_data_complete()
4729 u8 *rand192, *hash192, *rand256, *hash256; in add_remote_oob_data() local
4764 if (!memcmp(cp->rand256, ZERO_KEY, 16) || in add_remote_oob_data()
4766 rand256 = NULL; in add_remote_oob_data()
4769 rand256 = cp->rand256; in add_remote_oob_data()
4775 hash256, rand256); in add_remote_oob_data()
7199 r256 = rp->rand256; in read_local_oob_ext_data_complete()
Dhci_debugfs.c206 16, data->hash256, 16, data->rand256); in remote_oob_show()
Dhci_event.c4650 if (!memcmp(data->rand256, ZERO_KEY, 16) || in bredr_oob_data_present()
5000 memcpy(cp.rand256, data->rand256, sizeof(cp.rand256)); in hci_remote_oob_data_request_evt()
Dsmp.c690 memcpy(smp->rr, oob_data->rand256, 16); in build_pairing_cmd()