Searched refs:mackey (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/crypto/qce/
H A Dcommon.c241 __be32 mackey[QCE_SHA_HMAC_KEY_SIZE / sizeof(__be32)] = {0}; qce_setup_regs_ahash() local
265 qce_cpu_to_be32p_array(mackey, rctx->authkey, rctx->authklen); qce_setup_regs_ahash()
266 qce_write_array(qce, REG_AUTH_KEY0, (u32 *)mackey, qce_setup_regs_ahash()
/linux-4.1.27/net/bluetooth/
H A Dsmp.c121 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

Completed in 132 milliseconds