Home
last modified time | relevance | path

Searched refs:link_key (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/net/bluetooth/
H A Dsmp.c119 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 Damp.c170 struct link_key *key; in phylink_gen_key()
H A Dhci_core.c2347 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 Dhci_event.c4003 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 Dhci_debugfs.c388 struct link_key *key; in link_keys_show()
H A Dmgmt.c8052 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 Dsmp.c120 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 Dhci_core.c1078 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 Dhci_debugfs.c386 struct link_key *key; in link_keys_show()
H A Dhci_event.c4693 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 Dmgmt.c9460 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 Dhci_core.h206 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 Dhci.h665 __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 Dhci_core.h221 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 Dhci.h769 __u8 link_key[HCI_LINK_KEY_SIZE]; member
2387 __u8 link_key[HCI_LINK_KEY_SIZE]; member

Completed in 77 milliseconds