Searched refs:ltk (Results 1 – 8 of 8) sorted by relevance
| /linux/net/bluetooth/ |
| H A D | smp.c | 116 struct smp_ltk *ltk; member 234 const u8 a2[7], u8 mackey[16], u8 ltk[16]) in smp_f5() 276 err = aes_cmac(tfm_cmac, t, m, sizeof(m), ltk); in smp_f5() 280 SMP_DBG("ltk %16phN", ltk); in smp_f5() 766 if (smp->ltk && smp->ltk->type == SMP_LTK_P256_DEBUG && in smp_chan_destroy() 768 list_del_rcu(&smp->ltk->list); in smp_chan_destroy() 769 kfree_rcu(smp->ltk, rcu); in smp_chan_destroy() 770 smp->ltk in smp_chan_destroy() 1284 struct smp_ltk *ltk; smp_distribute_keys() local 2523 struct smp_ltk *ltk; smp_cmd_initiator_ident() local 3620 u8 mackey[16], ltk[16]; test_f5() local [all...] |
| H A D | hci_debugfs.c | 841 struct smp_ltk *ltk; in long_term_keys_show() local 844 list_for_each_entry_rcu(ltk, &hdev->long_term_keys, list) in long_term_keys_show() 846 <k->bdaddr, ltk->bdaddr_type, ltk->authenticated, in long_term_keys_show() 847 ltk->type, ltk->enc_size, __le16_to_cpu(ltk->ediv), in long_term_keys_show() 848 __le64_to_cpu(ltk->rand), 16, ltk->val); in long_term_keys_show()
|
| H A D | smp.h | 79 __u8 ltk[16]; member
|
| H A D | hci_event.c | 6701 struct smp_ltk *ltk; in hci_le_ltk_request_evt() 6711 ltk = hci_find_ltk(hdev, &conn->dst, conn->dst_type, conn->role); in send_conn_param_neg_reply() 6712 if (!ltk) in send_conn_param_neg_reply() 6715 if (smp_ltk_is_sc(ltk)) { 6721 if (ev->ediv != ltk->ediv || ev->rand != ltk->rand) in hci_le_remote_conn_param_req_evt() 6725 memcpy(cp.ltk, ltk->val, ltk->enc_size); in hci_le_remote_conn_param_req_evt() 6726 memset(cp.ltk in hci_le_remote_conn_param_req_evt() 6646 struct smp_ltk *ltk; hci_le_ltk_request_evt() local [all...] |
| H A D | hci_conn.c | 520 __u8 ltk[16], __u8 key_size) in hci_le_start_enc() 532 memcpy(cp.ltk, ltk, key_size); in hci_le_start_enc() 3261 struct smp_ltk *ltk; in hci_conn_key_enc_size() 3263 ltk = hci_find_ltk(conn->hdev, &conn->dst, conn->dst_type, in hci_conn_key_enc_size() 3265 if (!ltk) in hci_conn_key_enc_size() 3268 return <k->enc_size; in hci_ethtool_ts_info() 3255 struct smp_ltk *ltk; hci_conn_key_enc_size() local
|
| H A D | mgmt.c | 3178 /* Abort any ongoing SMP pairing. Removes ltk and irk if they exist. */ in unpair_device() 9631 static u8 mgmt_ltk_type(struct smp_ltk *ltk) in mgmt_ltk_type() 9633 switch (ltk->type) { in mgmt_ltk_type() 9636 if (ltk->authenticated) in mgmt_ltk_type() 9640 if (ltk->authenticated) in mgmt_new_ltk() 9620 mgmt_ltk_type(struct smp_ltk * ltk) mgmt_ltk_type() argument
|
| /linux/include/net/bluetooth/ |
| H A D | hci.h | 1773 __u8 ltk[16]; 1779 __u8 ltk[16]; 1771 __u8 ltk[16]; global() member 1777 __u8 ltk[16]; global() member
|
| H A D | hci_core.h | 2501 __u8 ltk[16], __u8 key_size);
|