Lines Matching defs:mackey
124 u8 mackey[16];
217 const u8 a1[7], const u8 a2[7], u8 mackey[16], u8 ltk[16])
251 err = smp_aes_cmac(t, m, sizeof(m), mackey);
255 SMP_DBG("mackey %16phN", mackey);
1394 static int sc_mackey_and_ltk(struct smp_chan *smp, u8 mackey[16], u8 ltk[16])
1412 return smp_f5(smp->dhkey, na, nb, a, b, mackey, ltk);
1445 smp_f6(smp->mackey, smp->prnd, smp->rrnd, r, io_cap, local_addr,
1498 if (sc_mackey_and_ltk(smp, smp->mackey, smp->tk))
2166 err = sc_mackey_and_ltk(smp, smp->mackey, smp->tk);
2894 err = smp_f6(smp->mackey, smp->rrnd, smp->prnd, r, io_cap, remote_addr,
3586 u8 mackey[16], ltk[16];
3589 err = smp_f5(w, n1, n2, a1, a2, mackey, ltk);
3593 if (crypto_memneq(mackey, exp_mackey, 16))