H A D | smp.c | 121 u8 mackey[16]; member in struct:smp_chan 242 const u8 a2[7], u8 mackey[16], u8 ltk[16]) smp_f5() 276 err = aes_cmac(tfm_cmac, t, m, sizeof(m), mackey); smp_f5() 280 SMP_DBG("mackey %16phN", mackey); smp_f5() 1395 static int sc_mackey_and_ltk(struct smp_chan *smp, u8 mackey[16], u8 ltk[16]) sc_mackey_and_ltk() argument 1413 return smp_f5(smp->tfm_cmac, smp->dhkey, na, nb, a, b, mackey, ltk); sc_mackey_and_ltk() 1446 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap, sc_dhkey_check() 1500 if (sc_mackey_and_ltk(smp, smp->mackey, smp->tk)) sc_passkey_round() 2152 err = sc_mackey_and_ltk(smp, smp->mackey, smp->tk); smp_cmd_pairing_random() 2724 err = smp_f6(smp->tfm_cmac, smp->mackey, smp->rrnd, smp->prnd, r, smp_cmd_dhkey_check() 3453 u8 mackey[16], ltk[16]; test_f5() local 3456 err = smp_f5(tfm_cmac, w, n1, n2, a1, a2, mackey, ltk); test_f5() 3460 if (memcmp(mackey, exp_mackey, 16)) test_f5() 240 smp_f5(struct crypto_hash *tfm_cmac, const u8 w[32], const u8 n1[16], const u8 n2[16], const u8 a1[7], const u8 a2[7], u8 mackey[16], u8 ltk[16]) smp_f5() argument
|