Lines Matching refs:mackey
129 u8 mackey[16];
235 const u8 a2[7], u8 mackey[16], u8 ltk[16])
269 err = aes_cmac(tfm_cmac, t, m, sizeof(m), mackey);
273 SMP_DBG("mackey %16phN", mackey);
1431 static int sc_mackey_and_ltk(struct smp_chan *smp, u8 mackey[16], u8 ltk[16])
1449 return smp_f5(smp->tfm_cmac, smp->dhkey, na, nb, a, b, mackey, ltk);
1482 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap,
1536 if (sc_mackey_and_ltk(smp, smp->mackey, smp->tk))
2220 err = sc_mackey_and_ltk(smp, smp->mackey, smp->tk);
2918 err = smp_f6(smp->tfm_cmac, smp->mackey, smp->rrnd, smp->prnd, r,
3628 u8 mackey[16], ltk[16];
3631 err = smp_f5(tfm_cmac, w, n1, n2, a1, a2, mackey, ltk);
3635 if (crypto_memneq(mackey, exp_mackey, 16))