Searched refs:csrk (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/net/bluetooth/ |
D | smp.c | 115 struct smp_csrk *csrk; member 757 kfree_sensitive(smp->csrk); in smp_chan_destroy() 1082 if (smp->csrk) { in smp_notify_keys() 1083 smp->csrk->link_type = hcon->type; in smp_notify_keys() 1084 smp->csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 1085 bacpy(&smp->csrk->bdaddr, &hcon->dst); in smp_notify_keys() 1086 mgmt_new_csrk(hdev, smp->csrk, persistent); in smp_notify_keys() 1348 struct smp_csrk *csrk; in smp_distribute_keys() local 1351 get_random_bytes(sign.csrk, sizeof(sign.csrk)); in smp_distribute_keys() 1353 csrk = kzalloc(sizeof(*csrk), GFP_KERNEL); in smp_distribute_keys() [all …]
|
D | smp.h | 101 __u8 csrk[16]; member
|
D | mgmt.c | 9623 void mgmt_new_csrk(struct hci_dev *hdev, struct smp_csrk *csrk, in mgmt_new_csrk() argument 9639 if (csrk->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_csrk() 9640 (csrk->bdaddr.b[5] & 0xc0) != 0xc0) in mgmt_new_csrk() 9645 bacpy(&ev.key.addr.bdaddr, &csrk->bdaddr); in mgmt_new_csrk() 9646 ev.key.addr.type = link_to_bdaddr(csrk->link_type, csrk->bdaddr_type); in mgmt_new_csrk() 9647 ev.key.type = csrk->type; in mgmt_new_csrk() 9648 memcpy(ev.key.val, csrk->val, sizeof(csrk->val)); in mgmt_new_csrk()
|
/linux-6.6.21/include/net/bluetooth/ |
D | hci_core.h | 2267 void mgmt_new_csrk(struct hci_dev *hdev, struct smp_csrk *csrk,
|