/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | hci_core.c | 1574 u8 *hash256, u8 *rand256) in hci_add_remote_oob_data() 1592 if (hash256 && rand256) in hci_add_remote_oob_data() 1597 if (hash256 && rand256) in hci_add_remote_oob_data() 1603 if (hash256 && rand256) { in hci_add_remote_oob_data() 1605 memcpy(data->rand256, rand256, sizeof(data->rand256)); in hci_add_remote_oob_data() 1608 memset(data->rand256, 0, sizeof(data->rand256)); 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 D | mgmt.c | 5533 rp_size -= sizeof(mgmt_rp.hash256) + sizeof(mgmt_rp.rand256); in read_local_oob_data_complete() 5548 memcpy(mgmt_rp.rand256, rp->rand256, sizeof(rp->rand256)); in read_local_oob_data_complete() 5659 u8 *rand192, *hash192, *rand256, *hash256; in add_remote_oob_data() local 5694 if (!memcmp(cp->rand256, ZERO_KEY, 16) || in add_remote_oob_data() 5696 rand256 = NULL; in add_remote_oob_data() 5699 rand256 = cp->rand256; in add_remote_oob_data() 5705 hash256, rand256); in add_remote_oob_data() [all...] |
H A D | hci_debugfs.c | 208 16, data->hash256, 16, data->rand256); in remote_oob_show()
|
H A D | hci_event.c | 5304 if (!crypto_memneq(data->rand256, ZERO_KEY, 16) || in bredr_oob_data_present() 5660 memcpy(cp.rand256, data->rand256, sizeof(cp.rand256)); in hci_remote_oob_data_request_evt()
|
H A D | smp.c | 692 memcpy(smp->rr, oob_data->rand256, 16); in build_pairing_cmd()
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
H A D | mgmt.h | 318 __u8 rand256[16]; member 333 __u8 rand256[16]; member
|
H A D | hci.h | 902 __u8 rand256[16]; member 1248 __u8 rand256[16]; member
|
H A D | hci_core.h | 225 u8 rand256[16]; 1302 u8 *hash256, u8 *rand256);
|
/kernel/linux/linux-6.6/include/net/bluetooth/ |
H A D | mgmt.h | 322 __u8 rand256[16]; member 337 __u8 rand256[16]; member
|
H A D | hci.h | 1040 __u8 rand256[16]; member 1386 __u8 rand256[16]; member
|
H A D | hci_core.h | 240 u8 rand256[16]; member 1753 u8 *hash256, u8 *rand256);
|
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | hci_core.c | 2824 u8 *hash256, u8 *rand256) in hci_add_remote_oob_data() 2842 if (hash256 && rand256) in hci_add_remote_oob_data() 2847 if (hash256 && rand256) in hci_add_remote_oob_data() 2853 if (hash256 && rand256) { in hci_add_remote_oob_data() 2855 memcpy(data->rand256, rand256, sizeof(data->rand256)); in hci_add_remote_oob_data() 2858 memset(data->rand256, 0, sizeof(data->rand256)); 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 D | mgmt.c | 4395 rp_size -= sizeof(mgmt_rp.hash256) + sizeof(mgmt_rp.rand256); in read_local_oob_data_complete() 4410 memcpy(mgmt_rp.rand256, rp->rand256, sizeof(rp->rand256)); in read_local_oob_data_complete() 4512 u8 *rand192, *hash192, *rand256, *hash256; in add_remote_oob_data() local 4547 if (!memcmp(cp->rand256, ZERO_KEY, 16) || in add_remote_oob_data() 4549 rand256 = NULL; in add_remote_oob_data() 4552 rand256 = cp->rand256; in add_remote_oob_data() 4558 hash256, rand256); in add_remote_oob_data() [all...] |
H A D | hci_event.c | 4587 if (!crypto_memneq(data->rand256, ZERO_KEY, 16) || in bredr_oob_data_present() 4940 memcpy(cp.rand256, data->rand256, sizeof(cp.rand256)); in hci_remote_oob_data_request_evt()
|
H A D | hci_debugfs.c | 206 16, data->hash256, 16, data->rand256); in remote_oob_show()
|
H A D | smp.c | 691 memcpy(smp->rr, oob_data->rand256, 16); in build_pairing_cmd()
|