Searched refs:iauth_tag (Results 1 – 1 of 1) sorted by relevance
/crypto/ |
D | gcm.c | 66 u8 iauth_tag[16]; member 232 memcpy(pctx->iauth_tag, &lengths, 16); in gcm_hash_len() 233 sg_init_one(&pctx->sg, pctx->iauth_tag, 16); in gcm_hash_len() 236 pctx->iauth_tag, sizeof(lengths)); in gcm_hash_len() 417 crypto_xor(auth_tag, pctx->iauth_tag, 16); in gcm_enc_copy_hash() 470 u8 *iauth_tag = pctx->iauth_tag; in crypto_gcm_verify() local 474 crypto_xor(auth_tag, iauth_tag, 16); in crypto_gcm_verify() 475 scatterwalk_map_and_copy(iauth_tag, req->src, in crypto_gcm_verify() 477 return crypto_memneq(iauth_tag, auth_tag, authsize) ? -EBADMSG : 0; in crypto_gcm_verify()
|