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()
1070 bacpy(&hcon->dst, &smp->remote_irk->bdaddr); in smp_notify_keys()
1083 bacpy(&smp->csrk->bdaddr, &hcon->dst); in smp_notify_keys()
1089 bacpy(&smp->responder_csrk->bdaddr, &hcon->dst); in smp_notify_keys()
1095 bacpy(&smp->ltk->bdaddr, &hcon->dst); in smp_notify_keys()
1101 bacpy(&smp->responder_ltk->bdaddr, &hcon->dst); in smp_notify_keys()
1331 bacpy(&addrinfo.bdaddr, &hcon->src); in smp_distribute_keys()
2457 int smp_cancel_and_remove_pairing(struct hci_dev *hdev, bdaddr_t *bdaddr, in smp_cancel_and_remove_pairing() argument
2466 err = hci_remove_ltk(hdev, bdaddr, addr_type); in smp_cancel_and_remove_pairing()
2467 hci_remove_irk(hdev, bdaddr, addr_type); in smp_cancel_and_remove_pairing()
2469 hcon = hci_conn_hash_lookup_le(hdev, bdaddr, addr_type); in smp_cancel_and_remove_pairing()
2630 if (!bacmp(&info->bdaddr, BDADDR_ANY) || in smp_cmd_ident_addr_info()
2631 !hci_is_identity_address(&info->bdaddr, info->addr_type)) { in smp_cmd_ident_addr_info()
2642 (bacmp(&info->bdaddr, &hcon->dst) || in smp_cmd_ident_addr_info()
2649 bacpy(&smp->id_addr, &info->bdaddr); in smp_cmd_ident_addr_info()
3363 bacpy(&chan->src, &hdev->bdaddr); in smp_add_cid()