/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | smp.c | 119 u8 *link_key; member 758 kfree_sensitive(smp->link_key); in smp_chan_destroy() 1104 if (smp->link_key) { in smp_notify_keys() 1105 struct link_key *key; in smp_notify_keys() 1116 smp->link_key, type, 0, &persistent); in smp_notify_keys() 1159 smp->link_key = kzalloc(16, GFP_KERNEL); in sc_generate_link_key() 1160 if (!smp->link_key) in sc_generate_link_key() 1167 if (smp_h7(smp->tfm_cmac, smp->tk, salt, smp->link_key)) { in sc_generate_link_key() 1168 kfree_sensitive(smp->link_key); in sc_generate_link_key() 1169 smp->link_key in sc_generate_link_key() [all...] |
H A D | amp.c | 170 struct link_key *key; in phylink_gen_key()
|
H A D | hci_core.c | 2347 struct link_key *key, *tmp; in hci_link_keys_clear() 2402 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_find_link_key() 2404 struct link_key *k; in hci_find_link_key() 2572 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key() 2576 struct link_key *key, *old_key; in hci_add_link_key() 2673 struct link_key *key; in hci_remove_link_key()
|
H A D | hci_event.c | 4003 struct link_key *key; in hci_link_key_request_evt() 4045 memcpy(cp.link_key, key->val, HCI_LINK_KEY_SIZE); in hci_link_key_request_evt() 4062 struct link_key *key; in hci_link_key_notify_evt() 4075 if (!crypto_memneq(ev->link_key, ZERO_KEY, HCI_LINK_KEY_SIZE)) { in hci_link_key_notify_evt() 4093 key = hci_add_link_key(hdev, conn, &ev->bdaddr, ev->link_key, in hci_link_key_notify_evt()
|
H A D | hci_debugfs.c | 388 struct link_key *key; in link_keys_show()
|
H A D | mgmt.c | 8052 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, in mgmt_new_link_key()
|
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | smp.c | 120 u8 *link_key; member 759 kfree_sensitive(smp->link_key); in smp_chan_destroy() 1110 if (smp->link_key) { in smp_notify_keys() 1111 struct link_key *key; in smp_notify_keys() 1122 smp->link_key, type, 0, &persistent); in smp_notify_keys() 1165 smp->link_key = kzalloc(16, GFP_KERNEL); in sc_generate_link_key() 1166 if (!smp->link_key) in sc_generate_link_key() 1173 if (smp_h7(smp->tfm_cmac, smp->tk, salt, smp->link_key)) { in sc_generate_link_key() 1174 kfree_sensitive(smp->link_key); in sc_generate_link_key() 1175 smp->link_key in sc_generate_link_key() [all...] |
H A D | hci_core.c | 1078 struct link_key *key, *tmp; in hci_link_keys_clear() 1133 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_find_link_key() 1135 struct link_key *k; in hci_find_link_key() 1303 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key() 1307 struct link_key *key, *old_key; in hci_add_link_key() 1404 struct link_key *key; in hci_remove_link_key()
|
H A D | hci_debugfs.c | 386 struct link_key *key; in link_keys_show()
|
H A D | hci_event.c | 4693 struct link_key *key; in hci_link_key_request_evt() 4732 memcpy(cp.link_key, key->val, HCI_LINK_KEY_SIZE); in hci_link_key_request_evt() 4750 struct link_key *key; in hci_link_key_notify_evt() 4763 if (!crypto_memneq(ev->link_key, ZERO_KEY, HCI_LINK_KEY_SIZE)) { in hci_link_key_notify_evt() 4781 key = hci_add_link_key(hdev, conn, &ev->bdaddr, ev->link_key, in hci_link_key_notify_evt()
|
H A D | mgmt.c | 9460 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, in mgmt_new_link_key()
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
H A D | hci_core.h | 206 struct link_key { 1272 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr); 1273 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, 1729 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key,
|
H A D | hci.h | 665 __u8 link_key[HCI_LINK_KEY_SIZE]; member 2039 __u8 link_key[HCI_LINK_KEY_SIZE]; member
|
/kernel/linux/linux-6.6/include/net/bluetooth/ |
H A D | hci_core.h | 221 struct link_key { struct 1723 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr); 1724 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, 2216 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key,
|
H A D | hci.h | 769 __u8 link_key[HCI_LINK_KEY_SIZE]; member 2387 __u8 link_key[HCI_LINK_KEY_SIZE]; member
|