Lines Matching refs:irk
105 u8 irk[16]; member
463 static int smp_ah(struct crypto_blkcipher *tfm, const u8 irk[16], in smp_ah()
473 err = smp_e(tfm, irk, _res); in smp_ah()
490 bool smp_irk_matches(struct hci_dev *hdev, const u8 irk[16], in smp_irk_matches()
503 BT_DBG("RPA %pMR IRK %*phN", bdaddr, 16, irk); in smp_irk_matches()
505 err = smp_ah(smp->tfm_aes, irk, &bdaddr->b[3], hash); in smp_irk_matches()
512 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa) in smp_generate_rpa()
528 err = smp_ah(smp->tfm_aes, irk, &rpa->b[3], rpa->b); in smp_generate_rpa()
1295 memcpy(idinfo.irk, hdev->irk, sizeof(idinfo.irk)); in smp_distribute_keys()
2437 memcpy(smp->irk, info->irk, 16); in smp_cmd_ident_info()
2489 smp->id_addr_type, smp->irk, &rpa); in smp_cmd_ident_addr_info()
3327 const u8 irk[16] = { in test_ah() local
3335 err = smp_ah(tfm_aes, irk, r, res); in test_ah()