Lines Matching refs:irk
113 u8 irk[16]; member
471 static int smp_ah(const u8 irk[16], const u8 r[3], u8 res[3]) in smp_ah()
480 err = smp_e(irk, _res); in smp_ah()
497 bool smp_irk_matches(struct hci_dev *hdev, const u8 irk[16], in smp_irk_matches()
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()
516 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa) in smp_generate_rpa()
529 err = smp_ah(irk, &rpa->b[3], rpa->b); in smp_generate_rpa()
1321 memcpy(idinfo.irk, hdev->irk, sizeof(idinfo.irk)); in smp_distribute_keys()
2574 info->irk)) { in smp_cmd_ident_info()
2585 memcpy(smp->irk, info->irk, 16); in smp_cmd_ident_info()
2650 smp->id_addr_type, smp->irk, &rpa); in smp_cmd_ident_addr_info()
3536 const u8 irk[16] = { in test_ah() local
3544 err = smp_ah(irk, r, res); in test_ah()