Searched refs:auth_tag (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/crypto/ |
D | omap-aes-gcm.c | 65 scatterwalk_map_and_copy(rctx->auth_tag, in omap_aes_gcm_done_task() 77 tag = (u8 *)rctx->auth_tag; in omap_aes_gcm_done_task() 187 u32 *auth_tag, tag[4]; in omap_aes_gcm_dma_out_callback() local 195 auth_tag = (u32 *)rctx->auth_tag; in omap_aes_gcm_dma_out_callback() 198 auth_tag[i] = val ^ auth_tag[i]; in omap_aes_gcm_dma_out_callback() 200 auth_tag[i] = auth_tag[i] ^ tag[i]; in omap_aes_gcm_dma_out_callback() 247 memset(rctx->auth_tag, 0, sizeof(rctx->auth_tag)); in omap_aes_gcm_crypt() 250 err = do_encrypt_iv(req, (u32 *)rctx->auth_tag, (u32 *)rctx->iv); in omap_aes_gcm_crypt() 259 scatterwalk_map_and_copy(rctx->auth_tag, req->dst, 0, authlen, in omap_aes_gcm_crypt()
|
D | omap-aes.h | 112 u32 auth_tag[AES_BLOCK_SIZE / sizeof(u32)]; member
|
D | sa2ul.c | 1697 u8 auth_tag[SA_MAX_AUTH_TAG_SZ]; in sa_aead_dma_in_callback() local 1718 scatterwalk_map_and_copy(auth_tag, req->src, start, authsize, in sa_aead_dma_in_callback() 1721 err = memcmp(&mdptr[4], auth_tag, authsize) ? -EBADMSG : 0; in sa_aead_dma_in_callback()
|
/linux-6.1.9/crypto/ |
D | gcm.c | 65 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() 415 u8 *auth_tag = pctx->auth_tag; in gcm_enc_copy_hash() local 417 crypto_xor(auth_tag, pctx->iauth_tag, 16); in gcm_enc_copy_hash() 418 scatterwalk_map_and_copy(auth_tag, req->dst, in gcm_enc_copy_hash() 469 u8 *auth_tag = pctx->auth_tag; in crypto_gcm_verify() local 474 crypto_xor(auth_tag, iauth_tag, 16); in crypto_gcm_verify() [all …]
|
D | ccm.c | 43 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.1.9/arch/x86/crypto/ |
D | aesni-intel_glue.c | 130 u8 *auth_tag, unsigned long auth_tag_len); 173 u8 *auth_tag, unsigned long auth_tag_len); 196 u8 *auth_tag, unsigned long auth_tag_len); 673 u8 *iv, void *aes_ctx, u8 *auth_tag, in gcmaes_crypt_by_sg() argument 769 aesni_gcm_finalize_avx_gen4(aes_ctx, data, auth_tag, in gcmaes_crypt_by_sg() 772 aesni_gcm_finalize_avx_gen2(aes_ctx, data, auth_tag, in gcmaes_crypt_by_sg() 775 aesni_gcm_finalize(aes_ctx, data, auth_tag, auth_tag_len); in gcmaes_crypt_by_sg() 786 u8 auth_tag[16]; in gcmaes_encrypt() local 790 auth_tag, auth_tag_len); in gcmaes_encrypt() 794 scatterwalk_map_and_copy(auth_tag, req->dst, in gcmaes_encrypt() [all …]
|
D | aesni-intel_avx-x86_64.S | 1835 # u8 *auth_tag, /* Authenticated Tag output. */ 2803 # u8 *auth_tag, /* Authenticated Tag output. */
|