Lines Matching refs:mackey
128 u8 mackey[16]; member
238 const u8 a2[7], u8 mackey[16], u8 ltk[16]) in smp_f5()
272 err = aes_cmac(tfm_cmac, t, m, sizeof(m), mackey); in smp_f5()
276 SMP_DBG("mackey %16phN", mackey); in smp_f5()
1413 static int sc_mackey_and_ltk(struct smp_chan *smp, u8 mackey[16], u8 ltk[16]) in sc_mackey_and_ltk()
1431 return smp_f5(smp->tfm_cmac, smp->dhkey, na, nb, a, b, mackey, ltk); in sc_mackey_and_ltk()
1464 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap, in sc_dhkey_check()
1518 if (sc_mackey_and_ltk(smp, smp->mackey, smp->tk)) in sc_passkey_round()
2181 err = sc_mackey_and_ltk(smp, smp->mackey, smp->tk); in smp_cmd_pairing_random()
2840 err = smp_f6(smp->tfm_cmac, smp->mackey, smp->rrnd, smp->prnd, r, in smp_cmd_dhkey_check()
3683 u8 mackey[16], ltk[16]; in test_f5() local
3686 err = smp_f5(tfm_cmac, w, n1, n2, a1, a2, mackey, ltk); in test_f5()
3690 if (crypto_memneq(mackey, exp_mackey, 16)) in test_f5()