Home
last modified time | relevance | path

Searched refs:link_key (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/net/bluetooth/
H A Dsmp.c119 u8 *link_key; member
758 kfree_sensitive(smp->link_key); in smp_chan_destroy()
1105 if (smp->link_key) { in smp_notify_keys()
1106 struct link_key *key; in smp_notify_keys()
1159 if (!smp->link_key) in sc_generate_link_key()
1168 smp->link_key = NULL; in sc_generate_link_key()
1177 smp->link_key = NULL; in sc_generate_link_key()
1182 if (smp_h6(smp->tfm_cmac, smp->link_key, lebr, smp->link_key)) { in sc_generate_link_key()
1183 kfree_sensitive(smp->link_key); in sc_generate_link_key()
1184 smp->link_key = NULL; in sc_generate_link_key()
[all …]
H A Dhci_core.c1034 struct link_key *key, *tmp; in hci_link_keys_clear()
1089 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_find_link_key()
1091 struct link_key *k; in hci_find_link_key()
1259 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key()
1263 struct link_key *key, *old_key; in hci_add_link_key()
1360 struct link_key *key; in hci_remove_link_key()
H A Dhci_event.c3198 struct link_key *key; in hci_conn_complete_evt()
4602 struct link_key *key; in hci_link_key_request_evt()
4641 memcpy(cp.link_key, key->val, HCI_LINK_KEY_SIZE); in hci_link_key_request_evt()
4659 struct link_key *key; in hci_link_key_notify_evt()
4672 if (!crypto_memneq(ev->link_key, ZERO_KEY, HCI_LINK_KEY_SIZE)) { in hci_link_key_notify_evt()
4690 key = hci_add_link_key(hdev, conn, &ev->bdaddr, ev->link_key, in hci_link_key_notify_evt()
H A Dhci_debugfs.c389 struct link_key *key; in link_keys_show()
H A Dhci_conn.c3030 struct link_key *key; in hci_conn_key_enc_size()
H A Dmgmt.c9466 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, in mgmt_new_link_key()
/linux-6.15/include/net/bluetooth/
H A Dhci_core.h216 struct link_key { struct
1802 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr);
1803 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn,
2344 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key,
H A Dhci.h819 __u8 link_key[HCI_LINK_KEY_SIZE]; member
2369 __u8 link_key[HCI_LINK_KEY_SIZE]; member