Searched refs:mackey (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/crypto/qce/ |
H A D | common.c | 157 __be32 mackey[QCE_SHA_HMAC_KEY_SIZE / sizeof(__be32)] = {0}; in qce_setup_regs_ahash() local 181 qce_cpu_to_be32p_array(mackey, rctx->authkey, rctx->authklen); in qce_setup_regs_ahash() 182 qce_write_array(qce, REG_AUTH_KEY0, (u32 *)mackey, in qce_setup_regs_ahash()
|
/openbmc/linux/net/bluetooth/ |
H A D | smp.c | 129 u8 mackey[16]; member 235 const u8 a2[7], u8 mackey[16], u8 ltk[16]) in smp_f5() 269 err = aes_cmac(tfm_cmac, t, m, sizeof(m), mackey); in smp_f5() 273 SMP_DBG("mackey %16phN", mackey); in smp_f5() 1426 static int sc_mackey_and_ltk(struct smp_chan *smp, u8 mackey[16], u8 ltk[16]) in sc_mackey_and_ltk() 1444 return smp_f5(smp->tfm_cmac, smp->dhkey, na, nb, a, b, mackey, ltk); in sc_mackey_and_ltk() 1477 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap, in sc_dhkey_check() 1531 if (sc_mackey_and_ltk(smp, smp->mackey, smp->tk)) in sc_passkey_round() 2214 err = sc_mackey_and_ltk(smp, smp->mackey, smp->tk); in smp_cmd_pairing_random() 2919 err = smp_f6(smp->tfm_cmac, smp->mackey, smp->rrnd, smp->prnd, r, in smp_cmd_dhkey_check() [all …]
|