Lines Matching refs:bdaddr
498 const bdaddr_t *bdaddr) in smp_irk_matches() argument
507 bt_dev_dbg(hdev, "RPA %pMR IRK %*phN", bdaddr, 16, irk); in smp_irk_matches()
509 err = smp_ah(irk, &bdaddr->b[3], hash); in smp_irk_matches()
513 return !crypto_memneq(bdaddr->b, hash, 3); in smp_irk_matches()
1067 bacpy(&hcon->dst, &smp->remote_irk->bdaddr); in smp_notify_keys()
1075 bacpy(&smp->csrk->bdaddr, &hcon->dst); in smp_notify_keys()
1081 bacpy(&smp->slave_csrk->bdaddr, &hcon->dst); in smp_notify_keys()
1087 bacpy(&smp->ltk->bdaddr, &hcon->dst); in smp_notify_keys()
1093 bacpy(&smp->slave_ltk->bdaddr, &hcon->dst); in smp_notify_keys()
1321 bacpy(&addrinfo.bdaddr, &hcon->src); in smp_distribute_keys()
2434 int smp_cancel_and_remove_pairing(struct hci_dev *hdev, bdaddr_t *bdaddr, in smp_cancel_and_remove_pairing() argument
2443 err = hci_remove_ltk(hdev, bdaddr, addr_type); in smp_cancel_and_remove_pairing()
2444 hci_remove_irk(hdev, bdaddr, addr_type); in smp_cancel_and_remove_pairing()
2446 hcon = hci_conn_hash_lookup_le(hdev, bdaddr, addr_type); in smp_cancel_and_remove_pairing()
2607 if (!bacmp(&info->bdaddr, BDADDR_ANY) || in smp_cmd_ident_addr_info()
2608 !hci_is_identity_address(&info->bdaddr, info->addr_type)) { in smp_cmd_ident_addr_info()
2619 (bacmp(&info->bdaddr, &hcon->dst) || in smp_cmd_ident_addr_info()
2626 bacpy(&smp->id_addr, &info->bdaddr); in smp_cmd_ident_addr_info()
3333 bacpy(&chan->src, &hdev->bdaddr); in smp_add_cid()