Home
last modified time | relevance | path

Searched refs:rand192 (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-6.6/net/bluetooth/
H A Dhci_core.c1573 u8 bdaddr_type, u8 *hash192, u8 *rand192, in hci_add_remote_oob_data()
1589 if (hash192 && rand192) { in hci_add_remote_oob_data()
1591 memcpy(data->rand192, rand192, sizeof(data->rand192)); in hci_add_remote_oob_data()
1596 memset(data->rand192, 0, sizeof(data->rand192)); in hci_add_remote_oob_data()
1609 if (hash192 && rand192) in hci_add_remote_oob_data()
1572 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.c5531 memcpy(mgmt_rp.rand192, rp->rand, sizeof(rp->rand)); in read_local_oob_data_complete()
5545 memcpy(mgmt_rp.rand192, rp->rand192, sizeof(rp->rand192)); in read_local_oob_data_complete()
5659 u8 *rand192, *hash192, *rand256, *hash256; in add_remote_oob_data() local
5666 if (memcmp(cp->rand192, ZERO_KEY, 16) || in add_remote_oob_data()
5675 rand192 = NULL; in add_remote_oob_data()
5681 if (!memcmp(cp->rand192, ZERO_KEY, 16) || in add_remote_oob_data()
5683 rand192 = NULL; in add_remote_oob_data()
5686 rand192 in add_remote_oob_data()
[all...]
H A Dhci_event.c5315 if (!crypto_memneq(data->rand192, ZERO_KEY, 16) || in bredr_oob_data_present()
5654 memset(cp.rand192, 0, sizeof(cp.rand192)); in hci_remote_oob_data_request_evt()
5657 memcpy(cp.rand192, data->rand192, sizeof(cp.rand192)); in hci_remote_oob_data_request_evt()
5669 memcpy(cp.rand, data->rand192, sizeof(cp.rand)); in hci_remote_oob_data_request_evt()
H A Dhci_debugfs.c207 16, data->hash192, 16, data->rand192, in remote_oob_show()
/kernel/linux/linux-5.10/include/net/bluetooth/
H A Dmgmt.h316 __u8 rand192[16]; member
331 __u8 rand192[16]; member
H A Dhci.h900 __u8 rand192[16]; member
1246 __u8 rand192[16]; member
H A Dhci_core.h223 u8 rand192[16];
1301 u8 bdaddr_type, u8 *hash192, u8 *rand192,
/kernel/linux/linux-6.6/include/net/bluetooth/
H A Dmgmt.h320 __u8 rand192[16]; member
335 __u8 rand192[16]; member
H A Dhci.h1038 __u8 rand192[16]; member
1384 __u8 rand192[16]; member
H A Dhci_core.h238 u8 rand192[16]; member
1752 u8 bdaddr_type, u8 *hash192, u8 *rand192,
/kernel/linux/linux-5.10/net/bluetooth/
H A Dmgmt.c4393 memcpy(mgmt_rp.rand192, rp->rand, sizeof(rp->rand)); in read_local_oob_data_complete()
4407 memcpy(mgmt_rp.rand192, rp->rand192, sizeof(rp->rand192)); in read_local_oob_data_complete()
4512 u8 *rand192, *hash192, *rand256, *hash256; in add_remote_oob_data() local
4519 if (memcmp(cp->rand192, ZERO_KEY, 16) || in add_remote_oob_data()
4528 rand192 = NULL; in add_remote_oob_data()
4534 if (!memcmp(cp->rand192, ZERO_KEY, 16) || in add_remote_oob_data()
4536 rand192 = NULL; in add_remote_oob_data()
4539 rand192 in add_remote_oob_data()
[all...]
H A Dhci_core.c2823 u8 bdaddr_type, u8 *hash192, u8 *rand192, in hci_add_remote_oob_data()
2839 if (hash192 && rand192) { in hci_add_remote_oob_data()
2841 memcpy(data->rand192, rand192, sizeof(data->rand192)); in hci_add_remote_oob_data()
2846 memset(data->rand192, 0, sizeof(data->rand192)); in hci_add_remote_oob_data()
2859 if (hash192 && rand192) in hci_add_remote_oob_data()
2822 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 Dhci_event.c4598 if (!crypto_memneq(data->rand192, ZERO_KEY, 16) || in bredr_oob_data_present()
4934 memset(cp.rand192, 0, sizeof(cp.rand192)); in hci_remote_oob_data_request_evt()
4937 memcpy(cp.rand192, data->rand192, sizeof(cp.rand192)); in hci_remote_oob_data_request_evt()
4949 memcpy(cp.rand, data->rand192, sizeof(cp.rand)); in hci_remote_oob_data_request_evt()
H A Dhci_debugfs.c205 16, data->hash192, 16, data->rand192, in remote_oob_show()

Completed in 86 milliseconds