Searched refs:csrk (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/bluetooth/ |
D | smp.c | 114 struct smp_csrk *csrk; member 756 kfree_sensitive(smp->csrk); in smp_chan_destroy() 1073 if (smp->csrk) { in smp_notify_keys() 1074 smp->csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 1075 bacpy(&smp->csrk->bdaddr, &hcon->dst); in smp_notify_keys() 1076 mgmt_new_csrk(hdev, smp->csrk, persistent); in smp_notify_keys() 1332 struct smp_csrk *csrk; in smp_distribute_keys() local 1335 get_random_bytes(sign.csrk, sizeof(sign.csrk)); in smp_distribute_keys() 1337 csrk = kzalloc(sizeof(*csrk), GFP_KERNEL); in smp_distribute_keys() 1338 if (csrk) { in smp_distribute_keys() [all …]
|
D | smp.h | 101 __u8 csrk[16]; member
|
D | mgmt.c | 8132 void mgmt_new_csrk(struct hci_dev *hdev, struct smp_csrk *csrk, in mgmt_new_csrk() argument 8148 if (csrk->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_csrk() 8149 (csrk->bdaddr.b[5] & 0xc0) != 0xc0) in mgmt_new_csrk() 8154 bacpy(&ev.key.addr.bdaddr, &csrk->bdaddr); in mgmt_new_csrk() 8155 ev.key.addr.type = link_to_bdaddr(LE_LINK, csrk->bdaddr_type); in mgmt_new_csrk() 8156 ev.key.type = csrk->type; in mgmt_new_csrk() 8157 memcpy(ev.key.val, csrk->val, sizeof(csrk->val)); in mgmt_new_csrk()
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
D | hci_core.h | 1777 void mgmt_new_csrk(struct hci_dev *hdev, struct smp_csrk *csrk,
|