Searched refs:iauth_tag (Results 1 – 1 of 1) sorted by relevance
/crypto/ |
D | gcm.c | 67 u8 iauth_tag[16]; member 238 memcpy(pctx->iauth_tag, &lengths, 16); in gcm_hash_len() 239 sg_init_one(&pctx->sg, pctx->iauth_tag, 16); in gcm_hash_len() 242 pctx->iauth_tag, sizeof(lengths)); in gcm_hash_len() 423 crypto_xor(auth_tag, pctx->iauth_tag, 16); in gcm_enc_copy_hash() 476 u8 *iauth_tag = pctx->iauth_tag; in crypto_gcm_verify() local 480 crypto_xor(auth_tag, iauth_tag, 16); in crypto_gcm_verify() 481 scatterwalk_map_and_copy(iauth_tag, req->src, in crypto_gcm_verify() 483 return crypto_memneq(iauth_tag, auth_tag, authsize) ? -EBADMSG : 0; in crypto_gcm_verify()
|