csrk 1579 include/net/bluetooth/hci_core.h void mgmt_new_csrk(struct hci_dev *hdev, struct smp_csrk *csrk, csrk 7182 net/bluetooth/mgmt.c void mgmt_new_csrk(struct hci_dev *hdev, struct smp_csrk *csrk, csrk 7198 net/bluetooth/mgmt.c if (csrk->bdaddr_type == ADDR_LE_DEV_RANDOM && csrk 7199 net/bluetooth/mgmt.c (csrk->bdaddr.b[5] & 0xc0) != 0xc0) csrk 7204 net/bluetooth/mgmt.c bacpy(&ev.key.addr.bdaddr, &csrk->bdaddr); csrk 7205 net/bluetooth/mgmt.c ev.key.addr.type = link_to_bdaddr(LE_LINK, csrk->bdaddr_type); csrk 7206 net/bluetooth/mgmt.c ev.key.type = csrk->type; csrk 7207 net/bluetooth/mgmt.c memcpy(ev.key.val, csrk->val, sizeof(csrk->val)); csrk 114 net/bluetooth/smp.c struct smp_csrk *csrk; csrk 762 net/bluetooth/smp.c kzfree(smp->csrk); csrk 1072 net/bluetooth/smp.c if (smp->csrk) { csrk 1073 net/bluetooth/smp.c smp->csrk->bdaddr_type = hcon->dst_type; csrk 1074 net/bluetooth/smp.c bacpy(&smp->csrk->bdaddr, &hcon->dst); csrk 1075 net/bluetooth/smp.c mgmt_new_csrk(hdev, smp->csrk, persistent); csrk 1331 net/bluetooth/smp.c struct smp_csrk *csrk; csrk 1334 net/bluetooth/smp.c get_random_bytes(sign.csrk, sizeof(sign.csrk)); csrk 1336 net/bluetooth/smp.c csrk = kzalloc(sizeof(*csrk), GFP_KERNEL); csrk 1337 net/bluetooth/smp.c if (csrk) { csrk 1339 net/bluetooth/smp.c csrk->type = MGMT_CSRK_LOCAL_AUTHENTICATED; csrk 1341 net/bluetooth/smp.c csrk->type = MGMT_CSRK_LOCAL_UNAUTHENTICATED; csrk 1342 net/bluetooth/smp.c memcpy(csrk->val, sign.csrk, sizeof(csrk->val)); csrk 1344 net/bluetooth/smp.c smp->slave_csrk = csrk; csrk 2601 net/bluetooth/smp.c struct smp_csrk *csrk; csrk 2613 net/bluetooth/smp.c csrk = kzalloc(sizeof(*csrk), GFP_KERNEL); csrk 2614 net/bluetooth/smp.c if (csrk) { csrk 2616 net/bluetooth/smp.c csrk->type = MGMT_CSRK_REMOTE_AUTHENTICATED; csrk 2618 net/bluetooth/smp.c csrk->type = MGMT_CSRK_REMOTE_UNAUTHENTICATED; csrk 2619 net/bluetooth/smp.c memcpy(csrk->val, rp->csrk, sizeof(csrk->val)); csrk 2621 net/bluetooth/smp.c smp->csrk = csrk; csrk 101 net/bluetooth/smp.h __u8 csrk[16];