Home
last modified time | relevance | path

Searched refs:mackey (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/crypto/qce/
H A Dcommon.c153 __be32 mackey[QCE_SHA_HMAC_KEY_SIZE / sizeof(__be32)] = {0}; in qce_setup_regs_ahash() local
177 qce_cpu_to_be32p_array(mackey, rctx->authkey, rctx->authklen); in qce_setup_regs_ahash()
178 qce_write_array(qce, REG_AUTH_KEY0, (u32 *)mackey, in qce_setup_regs_ahash()
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Dcryptlib.c111 if (unlikely(copy_from_user(key, sop->mackey, sop->mackeylen))) { in cryptodev_get_cipher_key()
353 int hmac_mode, void *mackey, size_t mackeylen) in cryptodev_hash_init() argument
365 ret = crypto_ahash_setkey(hdata->async.s, mackey, mackeylen); in cryptodev_hash_init()
H A Dioctl.c290 if (sop->mackey && unlikely(copy_from_user(keys.mkey, sop->mackey, in crypto_create_session()
1053 sop->mackey = compat_ptr(compat->mackey); in compat_to_session_op()
1066 compat->mackey = ptr_to_compat(sop->mackey); in session_op_to_compat()
H A Dcryptlib.h105 int hmac_mode, void *mackey, size_t mackeylen);
H A Dcryptodev.h62 compat_uptr_t mackey; /* pointer to mac key data */ member
/OK3568_Linux_fs/kernel/net/bluetooth/
H A Dsmp.c128 u8 mackey[16]; member
234 const u8 a2[7], u8 mackey[16], u8 ltk[16]) in smp_f5()
268 err = aes_cmac(tfm_cmac, t, m, sizeof(m), mackey); in smp_f5()
272 SMP_DBG("mackey %16phN", mackey); in smp_f5()
1414 static int sc_mackey_and_ltk(struct smp_chan *smp, u8 mackey[16], u8 ltk[16]) in sc_mackey_and_ltk()
1432 return smp_f5(smp->tfm_cmac, smp->dhkey, na, nb, a, b, mackey, ltk); in sc_mackey_and_ltk()
1465 smp_f6(smp->tfm_cmac, smp->mackey, smp->prnd, smp->rrnd, r, io_cap, in sc_dhkey_check()
1519 if (sc_mackey_and_ltk(smp, smp->mackey, smp->tk)) in sc_passkey_round()
2200 err = sc_mackey_and_ltk(smp, smp->mackey, smp->tk); in smp_cmd_pairing_random()
2897 err = smp_f6(smp->tfm_cmac, smp->mackey, smp->rrnd, smp->prnd, r, in smp_cmd_dhkey_check()
[all …]
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dcryptodev.h140 __u8 __user *mackey; member
/OK3568_Linux_fs/external/security/librkcrypto/include/
H A Dcryptodev.h140 __u8 __user *mackey; member
/OK3568_Linux_fs/external/security/librkcrypto/src/
H A Drkcrypto_core.c812 sess.mackey = config->key; in rk_hash_init()