Searched refs:csrk (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/net/bluetooth/ |
D | smp.c | 113 struct smp_csrk *csrk; member 755 kfree_sensitive(smp->csrk); in smp_chan_destroy() 1074 if (smp->csrk) { in smp_notify_keys() 1075 smp->csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 1076 bacpy(&smp->csrk->bdaddr, &hcon->dst); in smp_notify_keys() 1077 mgmt_new_csrk(hdev, smp->csrk, persistent); in smp_notify_keys() 1334 struct smp_csrk *csrk; in smp_distribute_keys() local 1337 get_random_bytes(sign.csrk, sizeof(sign.csrk)); in smp_distribute_keys() 1339 csrk = kzalloc(sizeof(*csrk), GFP_KERNEL); in smp_distribute_keys() 1340 if (csrk) { in smp_distribute_keys() [all …]
|
D | smp.h | 101 __u8 csrk[16]; member
|
D | mgmt.c | 9609 void mgmt_new_csrk(struct hci_dev *hdev, struct smp_csrk *csrk, in mgmt_new_csrk() argument 9625 if (csrk->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_csrk() 9626 (csrk->bdaddr.b[5] & 0xc0) != 0xc0) in mgmt_new_csrk() 9631 bacpy(&ev.key.addr.bdaddr, &csrk->bdaddr); in mgmt_new_csrk() 9632 ev.key.addr.type = link_to_bdaddr(LE_LINK, csrk->bdaddr_type); in mgmt_new_csrk() 9633 ev.key.type = csrk->type; in mgmt_new_csrk() 9634 memcpy(ev.key.val, csrk->val, sizeof(csrk->val)); in mgmt_new_csrk()
|
/linux-6.1.9/include/net/bluetooth/ |
D | hci_core.h | 2078 void mgmt_new_csrk(struct hci_dev *hdev, struct smp_csrk *csrk,
|