Searched refs:link_key (Results 1 – 8 of 8) sorted by relevance
| /linux/net/bluetooth/ |
| H A D | smp.c | 115 u8 *link_key; member 739 kfree_sensitive(smp->link_key); in smp_chan_destroy() 1082 if (smp->link_key) { in smp_notify_keys() 1083 struct link_key *key; in smp_notify_keys() 1094 smp->link_key, type, 0, &persistent); in smp_notify_keys() 1135 smp->link_key = kzalloc(16, GFP_KERNEL); in sc_generate_link_key() 1136 if (!smp->link_key) in sc_generate_link_key() 1143 if (smp_h7(smp->tk, salt, smp->link_key)) { in sc_generate_link_key() 1144 kfree_sensitive(smp->link_key); in sc_generate_link_key() 1145 smp->link_key in sc_generate_link_key() [all...] |
| H A D | hci_core.c | 1016 struct link_key *key, *tmp; in hci_link_keys_clear() 1071 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_find_link_key() 1073 struct link_key *k; in hci_find_link_key() 1239 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key() 1243 struct link_key *key, *old_key; in hci_add_link_key() 1340 struct link_key *key; in hci_remove_link_key()
|
| H A D | hci_event.c | 3253 struct link_key *key; in hci_conn_complete_evt() 4704 struct link_key *key; in hci_link_key_request_evt() 4743 memcpy(cp.link_key, key->val, HCI_LINK_KEY_SIZE); in hci_link_key_request_evt() 4761 struct link_key *key; in hci_link_key_notify_evt() 4774 if (!crypto_memneq(ev->link_key, ZERO_KEY, HCI_LINK_KEY_SIZE)) { in hci_link_key_notify_evt() 4792 key = hci_add_link_key(hdev, conn, &ev->bdaddr, ev->link_key, in hci_link_key_notify_evt()
|
| H A D | hci_debugfs.c | 386 struct link_key *key; in link_keys_show()
|
| H A D | hci_conn.c | 3385 struct link_key *key; in hci_conn_key_enc_size()
|
| H A D | mgmt.c | 9876 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, in mgmt_new_link_key()
|
| /linux/include/net/bluetooth/ |
| H A D | hci_core.h | 220 struct link_key { struct 1876 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr); 1877 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, 2459 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, 221 listlink_key global() argument 222 rculink_key global() argument 223 bdaddrlink_key global() argument 224 typelink_key global() argument 225 vallink_key global() argument 226 pin_lenlink_key global() argument
|
| H A D | hci.h | 830 __u8 link_key[HCI_LINK_KEY_SIZE]; member 2692 __u8 link_key[HCI_LINK_KEY_SIZE]; member
|