Home
last modified time | relevance | path

Searched refs:rand192 (Results 1 – 4 of 4) sorted by relevance

/net/bluetooth/
Dhci_core.c2710 u8 bdaddr_type, u8 *hash192, u8 *rand192, in hci_add_remote_oob_data() argument
2726 if (hash192 && rand192) { in hci_add_remote_oob_data()
2728 memcpy(data->rand192, rand192, sizeof(data->rand192)); in hci_add_remote_oob_data()
2733 memset(data->rand192, 0, sizeof(data->rand192)); in hci_add_remote_oob_data()
2746 if (hash192 && rand192) in hci_add_remote_oob_data()
Dmgmt.c3574 memcpy(mgmt_rp.rand192, rp->rand, sizeof(rp->rand)); in read_local_oob_data_complete()
3588 memcpy(mgmt_rp.rand192, rp->rand192, sizeof(rp->rand192)); in read_local_oob_data_complete()
3693 u8 *rand192, *hash192, *rand256, *hash256; in add_remote_oob_data() local
3700 if (memcmp(cp->rand192, ZERO_KEY, 16) || in add_remote_oob_data()
3709 rand192 = NULL; in add_remote_oob_data()
3715 if (!memcmp(cp->rand192, ZERO_KEY, 16) || in add_remote_oob_data()
3717 rand192 = NULL; in add_remote_oob_data()
3720 rand192 = cp->rand192; in add_remote_oob_data()
3738 cp->addr.type, hash192, rand192, in add_remote_oob_data()
6083 r192 = rp->rand192; in read_local_oob_ext_data_complete()
Dhci_event.c4478 if (!crypto_memneq(data->rand192, ZERO_KEY, 16) || in bredr_oob_data_present()
4804 memset(cp.rand192, 0, sizeof(cp.rand192)); in hci_remote_oob_data_request_evt()
4807 memcpy(cp.rand192, data->rand192, sizeof(cp.rand192)); in hci_remote_oob_data_request_evt()
4819 memcpy(cp.rand, data->rand192, sizeof(cp.rand)); in hci_remote_oob_data_request_evt()
Dhci_debugfs.c189 16, data->hash192, 16, data->rand192, in remote_oob_show()