Home
last modified time | relevance | path

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

/linux/net/bluetooth/
H A Dhci_core.c1514 u8 *hash256, u8 *rand256) in hci_add_remote_oob_data()
1535 if (hash256 && rand256) in hci_add_remote_oob_data()
1540 if (hash256 && rand256) in hci_add_remote_oob_data()
1546 if (hash256 && rand256) { in hci_add_remote_oob_data()
1548 memcpy(data->rand256, rand256, sizeof(data->rand256)); in hci_add_remote_oob_data()
1551 memset(data->rand256, 0, sizeof(data->rand256)); in hci_add_remote_oob_data()
1510 hci_add_remote_oob_data(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type,u8 * hash192,u8 * rand192,u8 * hash256,u8 * rand256) hci_add_remote_oob_data() argument
H A Dmgmt.c5806 rp_size -= sizeof(mgmt_rp.hash256) + sizeof(mgmt_rp.rand256); in read_local_oob_data_complete()
5821 memcpy(mgmt_rp.rand256, rp->rand256, sizeof(rp->rand256)); in read_local_oob_data_complete()
5932 u8 *rand192, *hash192, *rand256, *hash256; in add_remote_oob_data() local
5967 if (!memcmp(cp->rand256, ZERO_KEY, 16) || in add_remote_oob_data()
5969 rand256 = NULL; in add_remote_oob_data()
5972 rand256 = cp->rand256; in add_remote_oob_data()
5978 hash256, rand256); in add_remote_oob_data()
[all...]
H A Dhci_debugfs.c204 16, data->hash256, 16, data->rand256); in remote_oob_show()
H A Dhci_event.c5316 if (!crypto_memneq(data->rand256, ZERO_KEY, 16) || in bredr_oob_data_present()
5679 memcpy(cp.rand256, data->rand256, sizeof(cp.rand256)); in hci_remote_oob_data_request_evt()
H A Dsmp.c671 memcpy(smp->rr, oob_data->rand256, 16); in build_pairing_cmd()
/linux/include/net/bluetooth/
H A Dmgmt.h328 __u8 rand256[16]; member
343 __u8 rand256[16]; member
H A Dhci.h1056 __u8 rand256[16]; member
1402 __u8 rand256[16]; member
H A Dhci_core.h237 u8 rand256[16]; member
1906 u8 *hash256, u8 *rand256);