Lines Matching refs:ahreq
117 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in authenc_geniv_ahash_done() local
122 scatterwalk_map_and_copy(ahreq->result, req->dst, in authenc_geniv_ahash_done()
138 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_genicv() local
142 ahash_request_set_tfm(ahreq, auth); in crypto_authenc_genicv()
143 ahash_request_set_crypt(ahreq, req->dst, hash, in crypto_authenc_genicv()
145 ahash_request_set_callback(ahreq, flags, in crypto_authenc_genicv()
148 err = crypto_ahash_digest(ahreq); in crypto_authenc_genicv()
213 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt_tail() local
217 u8 *ihash = ahreq->result + authsize; in crypto_authenc_decrypt_tail()
220 scatterwalk_map_and_copy(ihash, req->src, ahreq->nbytes, authsize, 0); in crypto_authenc_decrypt_tail()
222 if (crypto_memneq(ihash, ahreq->result, authsize)) in crypto_authenc_decrypt_tail()
262 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt() local
266 ahash_request_set_tfm(ahreq, auth); in crypto_authenc_decrypt()
267 ahash_request_set_crypt(ahreq, req->src, hash, in crypto_authenc_decrypt()
269 ahash_request_set_callback(ahreq, aead_request_flags(req), in crypto_authenc_decrypt()
272 err = crypto_ahash_digest(ahreq); in crypto_authenc_decrypt()