Lines Matching refs:irk
111 u8 irk[16]; member
481 static int smp_ah(struct crypto_blkcipher *tfm, const u8 irk[16], in smp_ah()
491 err = smp_e(tfm, irk, _res); in smp_ah()
508 bool smp_irk_matches(struct hci_dev *hdev, const u8 irk[16], in smp_irk_matches()
521 BT_DBG("RPA %pMR IRK %*phN", bdaddr, 16, irk); in smp_irk_matches()
523 err = smp_ah(smp->tfm_aes, irk, &bdaddr->b[3], hash); in smp_irk_matches()
530 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa) in smp_generate_rpa()
546 err = smp_ah(smp->tfm_aes, irk, &rpa->b[3], rpa->b); in smp_generate_rpa()
1296 memcpy(idinfo.irk, hdev->irk, sizeof(idinfo.irk)); in smp_distribute_keys()
2464 memcpy(smp->irk, info->irk, 16); in smp_cmd_ident_info()
2516 smp->id_addr_type, smp->irk, &rpa); in smp_cmd_ident_addr_info()
3454 const u8 irk[16] = { in test_ah() local
3462 err = smp_ah(tfm_aes, irk, r, res); in test_ah()