Searched refs:ltk (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/net/bluetooth/ |
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 …]
|
D | hci_debugfs.c | 782 struct smp_ltk *ltk; in long_term_keys_show() local 785 list_for_each_entry_rcu(ltk, &hdev->long_term_keys, list) in long_term_keys_show() 787 <k->bdaddr, ltk->bdaddr_type, ltk->authenticated, in long_term_keys_show() 788 ltk->type, ltk->enc_size, __le16_to_cpu(ltk->ediv), in long_term_keys_show() 789 __le64_to_cpu(ltk->rand), 16, ltk->val); in long_term_keys_show()
|
D | smp.h | 79 __u8 ltk[16]; member
|
D | hci_event.c | 5804 struct smp_ltk *ltk; in hci_le_ltk_request_evt() local 5814 ltk = hci_find_ltk(hdev, &conn->dst, conn->dst_type, conn->role); in hci_le_ltk_request_evt() 5815 if (!ltk) in hci_le_ltk_request_evt() 5818 if (smp_ltk_is_sc(ltk)) { in hci_le_ltk_request_evt() 5824 if (ev->ediv != ltk->ediv || ev->rand != ltk->rand) in hci_le_ltk_request_evt() 5828 memcpy(cp.ltk, ltk->val, ltk->enc_size); in hci_le_ltk_request_evt() 5829 memset(cp.ltk + ltk->enc_size, 0, sizeof(cp.ltk) - ltk->enc_size); in hci_le_ltk_request_evt() 5832 conn->pending_sec_level = smp_ltk_sec_level(ltk); in hci_le_ltk_request_evt() 5834 conn->enc_key_size = ltk->enc_size; in hci_le_ltk_request_evt() 5844 if (ltk->type == SMP_STK) { in hci_le_ltk_request_evt() [all …]
|
D | hci_conn.c | 366 __u8 ltk[16], __u8 key_size) in hci_le_start_enc() 378 memcpy(cp.ltk, ltk, key_size); in hci_le_start_enc()
|
D | mgmt.c | 8054 static u8 mgmt_ltk_type(struct smp_ltk *ltk) in mgmt_ltk_type() argument 8056 switch (ltk->type) { in mgmt_ltk_type() 8059 if (ltk->authenticated) in mgmt_ltk_type() 8063 if (ltk->authenticated) in mgmt_ltk_type()
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
D | hci.h | 1567 __u8 ltk[16]; member 1573 __u8 ltk[16]; member
|
D | hci_core.h | 1783 __u8 ltk[16], __u8 key_size);
|