Home
last modified time | relevance | path

Searched refs:auth_tag (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/crypto/
Domap-aes-gcm.c68 scatterwalk_map_and_copy(rctx->auth_tag, in omap_aes_gcm_done_task()
80 tag = (u8 *)rctx->auth_tag; in omap_aes_gcm_done_task()
190 u32 *auth_tag, tag[4]; in omap_aes_gcm_dma_out_callback() local
198 auth_tag = (u32 *)rctx->auth_tag; in omap_aes_gcm_dma_out_callback()
201 auth_tag[i] = val ^ auth_tag[i]; in omap_aes_gcm_dma_out_callback()
203 auth_tag[i] = auth_tag[i] ^ tag[i]; in omap_aes_gcm_dma_out_callback()
248 memset(rctx->auth_tag, 0, sizeof(rctx->auth_tag)); in omap_aes_gcm_crypt()
251 err = do_encrypt_iv(req, (u32 *)rctx->auth_tag, (u32 *)rctx->iv); in omap_aes_gcm_crypt()
260 scatterwalk_map_and_copy(rctx->auth_tag, req->dst, 0, authlen, in omap_aes_gcm_crypt()
Domap-aes.h110 u32 auth_tag[AES_BLOCK_SIZE / sizeof(u32)]; member
Dsa2ul.c1698 u8 auth_tag[SA_MAX_AUTH_TAG_SZ]; in sa_aead_dma_in_callback() local
1719 scatterwalk_map_and_copy(auth_tag, req->src, start, authsize, in sa_aead_dma_in_callback()
1722 err = memcmp(&mdptr[4], auth_tag, authsize) ? -EBADMSG : 0; in sa_aead_dma_in_callback()
/linux-6.12.1/crypto/
Dgcm.c65 u8 auth_tag[16]; member
158 memset(pctx->auth_tag, 0, sizeof(pctx->auth_tag)); in crypto_gcm_init_common()
163 sg_set_buf(pctx->src, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_common()
170 sg_set_buf(pctx->dst, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_common()
190 cryptlen + sizeof(pctx->auth_tag), in crypto_gcm_init_crypt()
413 u8 *auth_tag = pctx->auth_tag; in gcm_enc_copy_hash() local
415 crypto_xor(auth_tag, pctx->iauth_tag, 16); in gcm_enc_copy_hash()
416 scatterwalk_map_and_copy(auth_tag, req->dst, in gcm_enc_copy_hash()
467 u8 *auth_tag = pctx->auth_tag; in crypto_gcm_verify() local
472 crypto_xor(auth_tag, iauth_tag, 16); in crypto_gcm_verify()
[all …]
Dccm.c43 u8 auth_tag[16]; member
339 if (!err && crypto_memneq(pctx->auth_tag, pctx->odata, authsize)) in crypto_ccm_decrypt_done()
354 u8 *authtag = pctx->auth_tag; in crypto_ccm_decrypt()
/linux-6.12.1/include/linux/mlx5/
Dmlx5_ifc.h12624 u8 auth_tag[0x80]; member