Lines Matching refs:ahreq
129 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in authenc_geniv_ahash_done() local
134 scatterwalk_map_and_copy(ahreq->result, req->dst, in authenc_geniv_ahash_done()
150 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_genicv() local
157 ahash_request_set_tfm(ahreq, auth); in crypto_authenc_genicv()
158 ahash_request_set_crypt(ahreq, req->dst, hash, in crypto_authenc_genicv()
160 ahash_request_set_callback(ahreq, flags, in crypto_authenc_genicv()
163 err = crypto_ahash_digest(ahreq); in crypto_authenc_genicv()
247 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt_tail() local
251 u8 *ihash = ahreq->result + authsize; in crypto_authenc_decrypt_tail()
254 scatterwalk_map_and_copy(ihash, req->src, ahreq->nbytes, authsize, 0); in crypto_authenc_decrypt_tail()
256 if (crypto_memneq(ihash, ahreq->result, authsize)) in crypto_authenc_decrypt_tail()
297 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt() local
304 ahash_request_set_tfm(ahreq, auth); in crypto_authenc_decrypt()
305 ahash_request_set_crypt(ahreq, req->src, hash, in crypto_authenc_decrypt()
307 ahash_request_set_callback(ahreq, aead_request_flags(req), in crypto_authenc_decrypt()
310 err = crypto_ahash_digest(ahreq); in crypto_authenc_decrypt()