Lines Matching refs:irk
112 u8 irk[16]; member
470 static int smp_ah(const u8 irk[16], const u8 r[3], u8 res[3]) in smp_ah()
479 err = smp_e(irk, _res); in smp_ah()
496 bool smp_irk_matches(struct hci_dev *hdev, const u8 irk[16], in smp_irk_matches()
506 bt_dev_dbg(hdev, "RPA %pMR IRK %*phN", bdaddr, 16, irk); in smp_irk_matches()
508 err = smp_ah(irk, &bdaddr->b[3], hash); in smp_irk_matches()
515 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa) in smp_generate_rpa()
528 err = smp_ah(irk, &rpa->b[3], rpa->b); in smp_generate_rpa()
1313 memcpy(idinfo.irk, hdev->irk, sizeof(idinfo.irk)); in smp_distribute_keys()
2566 info->irk)) { in smp_cmd_ident_info()
2577 memcpy(smp->irk, info->irk, 16); in smp_cmd_ident_info()
2642 smp->id_addr_type, smp->irk, &rpa); in smp_cmd_ident_addr_info()
3488 const u8 irk[16] = { in test_ah() local
3496 err = smp_ah(irk, r, res); in test_ah()