Searched refs:link_key (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/net/bluetooth/ |
D | smp.c | 117 u8 *link_key; member 767 kzfree(smp->link_key); in smp_chan_destroy() 1101 if (smp->link_key) { in smp_notify_keys() 1102 struct link_key *key; in smp_notify_keys() 1113 smp->link_key, type, 0, &persistent); in smp_notify_keys() 1157 smp->link_key = kzalloc(16, GFP_KERNEL); in sc_generate_link_key() 1158 if (!smp->link_key) in sc_generate_link_key() 1161 if (smp_h6(smp->tfm_cmac, smp->tk, tmp1, smp->link_key)) { in sc_generate_link_key() 1162 kzfree(smp->link_key); in sc_generate_link_key() 1163 smp->link_key = NULL; in sc_generate_link_key() [all …]
|
D | hci_core.c | 2269 struct link_key *key; in hci_link_keys_clear() 2297 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_find_link_key() 2299 struct link_key *k; in hci_find_link_key() 2427 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key() 2431 struct link_key *key, *old_key; in hci_add_link_key() 2528 struct link_key *key; in hci_remove_link_key()
|
D | amp.c | 178 struct link_key *key; in phylink_gen_key()
|
D | hci_debugfs.c | 426 struct link_key *key; in link_keys_show()
|
D | hci_event.c | 3420 struct link_key *key; in hci_link_key_request_evt() 3462 memcpy(cp.link_key, key->val, HCI_LINK_KEY_SIZE); in hci_link_key_request_evt() 3479 struct link_key *key; in hci_link_key_notify_evt() 3501 key = hci_add_link_key(hdev, conn, &ev->bdaddr, ev->link_key, in hci_link_key_notify_evt()
|
D | mgmt.c | 7777 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, in mgmt_new_link_key()
|
/linux-4.4.14/include/net/bluetooth/ |
D | hci_core.h | 138 struct link_key { struct 1049 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr); 1050 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, 1438 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key,
|
D | hci.h | 557 __u8 link_key[HCI_LINK_KEY_SIZE]; member 1641 __u8 link_key[HCI_LINK_KEY_SIZE]; member
|