Searched refs:auth_tag (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/crypto/ |
D | omap-aes-gcm.c | 62 scatterwalk_map_and_copy(rctx->auth_tag, in omap_aes_gcm_done_task() 74 tag = (u8 *)rctx->auth_tag; in omap_aes_gcm_done_task() 227 u32 *auth_tag, tag[4]; in omap_aes_gcm_dma_out_callback() local 235 auth_tag = (u32 *)rctx->auth_tag; in omap_aes_gcm_dma_out_callback() 238 auth_tag[i] = val ^ auth_tag[i]; in omap_aes_gcm_dma_out_callback() 240 auth_tag[i] = auth_tag[i] ^ tag[i]; in omap_aes_gcm_dma_out_callback() 310 memset(rctx->auth_tag, 0, sizeof(rctx->auth_tag)); in omap_aes_gcm_crypt() 313 err = do_encrypt_iv(req, (u32 *)rctx->auth_tag, (u32 *)rctx->iv); in omap_aes_gcm_crypt() 322 scatterwalk_map_and_copy(rctx->auth_tag, req->dst, 0, authlen, in omap_aes_gcm_crypt()
|
D | omap-aes.h | 108 u32 auth_tag[AES_BLOCK_SIZE / sizeof(u32)]; member
|
/Linux-v5.4/crypto/ |
D | gcm.c | 66 u8 auth_tag[16]; member 164 memset(pctx->auth_tag, 0, sizeof(pctx->auth_tag)); in crypto_gcm_init_common() 169 sg_set_buf(pctx->src, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_common() 176 sg_set_buf(pctx->dst, pctx->auth_tag, sizeof(pctx->auth_tag)); in crypto_gcm_init_common() 196 cryptlen + sizeof(pctx->auth_tag), in crypto_gcm_init_crypt() 421 u8 *auth_tag = pctx->auth_tag; in gcm_enc_copy_hash() local 423 crypto_xor(auth_tag, pctx->iauth_tag, 16); in gcm_enc_copy_hash() 424 scatterwalk_map_and_copy(auth_tag, req->dst, in gcm_enc_copy_hash() 475 u8 *auth_tag = pctx->auth_tag; in crypto_gcm_verify() local 480 crypto_xor(auth_tag, iauth_tag, 16); in crypto_gcm_verify() [all …]
|
D | ccm.c | 44 u8 auth_tag[16]; member 347 if (!err && crypto_memneq(pctx->auth_tag, pctx->odata, authsize)) in crypto_ccm_decrypt_done() 362 u8 *authtag = pctx->auth_tag; in crypto_ccm_decrypt()
|
/Linux-v5.4/arch/x86/crypto/ |
D | aesni-intel_glue.c | 131 u8 *auth_tag, unsigned long auth_tag_len); 153 u8 *auth_tag, unsigned long auth_tag_len); 170 u8 *auth_tag, unsigned long auth_tag_len); 180 u8 *auth_tag, unsigned long auth_tag_len); 218 u8 *auth_tag, unsigned long auth_tag_len); 224 u8 *auth_tag, unsigned long auth_tag_len); 230 u8 *auth_tag, unsigned long auth_tag_len); 263 u8 *auth_tag, unsigned long auth_tag_len); 269 u8 *auth_tag, unsigned long auth_tag_len); 275 u8 *auth_tag, unsigned long auth_tag_len);
|
D | aesni-intel_avx-x86_64.S | 1847 # u8 *auth_tag, /* Authenticated Tag output. */ 2818 # u8 *auth_tag, /* Authenticated Tag output. */
|