Home
last modified time | relevance | path

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

/Linux-v5.15/net/bluetooth/
Dsmp.c118 u8 *link_key; member
757 kfree_sensitive(smp->link_key); in smp_chan_destroy()
1098 if (smp->link_key) { in smp_notify_keys()
1099 struct link_key *key; in smp_notify_keys()
1110 smp->link_key, type, 0, &persistent); in smp_notify_keys()
1151 smp->link_key = kzalloc(16, GFP_KERNEL); in sc_generate_link_key()
1152 if (!smp->link_key) in sc_generate_link_key()
1159 if (smp_h7(smp->tfm_cmac, smp->tk, salt, smp->link_key)) { in sc_generate_link_key()
1160 kfree_sensitive(smp->link_key); in sc_generate_link_key()
1161 smp->link_key = NULL; in sc_generate_link_key()
[all …]
Dhci_core.c2356 struct link_key *key; in hci_link_keys_clear()
2411 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_find_link_key()
2413 struct link_key *k; in hci_find_link_key()
2581 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key()
2585 struct link_key *key, *old_key; in hci_add_link_key()
2682 struct link_key *key; in hci_remove_link_key()
Damp.c170 struct link_key *key; in phylink_gen_key()
Dhci_debugfs.c384 struct link_key *key; in link_keys_show()
Dhci_event.c4088 struct link_key *key; in hci_link_key_request_evt()
4130 memcpy(cp.link_key, key->val, HCI_LINK_KEY_SIZE); in hci_link_key_request_evt()
4147 struct link_key *key; in hci_link_key_notify_evt()
4169 key = hci_add_link_key(hdev, conn, &ev->bdaddr, ev->link_key, in hci_link_key_notify_evt()
Dmgmt.c8631 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, in mgmt_new_link_key()
/Linux-v5.15/include/net/bluetooth/
Dhci_core.h202 struct link_key { struct
1316 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr);
1317 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn,
1787 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key,
Dhci.h667 __u8 link_key[HCI_LINK_KEY_SIZE]; member
2048 __u8 link_key[HCI_LINK_KEY_SIZE]; member