Home
last modified time | relevance | path

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

/net/bluetooth/
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 = NULL; in sc_generate_link_key()
[all …]
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()
Damp.c170 struct link_key *key; in phylink_gen_key()
Dhci_event.c4000 struct link_key *key; in hci_link_key_request_evt()
4042 memcpy(cp.link_key, key->val, HCI_LINK_KEY_SIZE); in hci_link_key_request_evt()
4059 struct link_key *key; in hci_link_key_notify_evt()
4072 if (!crypto_memneq(ev->link_key, ZERO_KEY, HCI_LINK_KEY_SIZE)) { in hci_link_key_notify_evt()
4090 key = hci_add_link_key(hdev, conn, &ev->bdaddr, ev->link_key, in hci_link_key_notify_evt()
Dhci_debugfs.c384 struct link_key *key; in link_keys_show()
Dmgmt.c8048 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, in mgmt_new_link_key()