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 = NULL; in smp_chan_destroy() 775 if (smp->ltk) { in smp_chan_destroy() 776 list_del_rcu(&smp->ltk->list); in smp_chan_destroy() [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 | 6684 struct smp_ltk *ltk; in hci_le_ltk_request_evt() 6694 ltk = hci_find_ltk(hdev, &conn->dst, conn->dst_type, conn->role); in hci_le_ltk_request_evt() 6695 if (!ltk) in hci_le_ltk_request_evt() 6698 if (smp_ltk_is_sc(ltk)) { in hci_le_ltk_request_evt() 6704 if (ev->ediv != ltk->ediv || ev->rand != ltk->rand) in send_conn_param_neg_reply() 6708 memcpy(cp.ltk, ltk->val, ltk->enc_size); in send_conn_param_neg_reply() 6709 memset(cp.ltk in send_conn_param_neg_reply() 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() 3255 struct smp_ltk *ltk; in hci_conn_key_enc_size() local 3257 ltk = hci_find_ltk(conn->hdev, &conn->dst, conn->dst_type, in hci_conn_key_enc_size() 3259 if (!ltk) in hci_conn_key_enc_size() 3262 return <k->enc_size; in hci_conn_key_enc_size()
|
| H A D | mgmt.c | 9620 static u8 mgmt_ltk_type(struct smp_ltk *ltk) in mgmt_ltk_type() argument 9622 switch (ltk->type) { in mgmt_ltk_type() 9625 if (ltk->authenticated) in mgmt_ltk_type() 9629 if (ltk->authenticated) in mgmt_ltk_type()
|
| /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);
|