Lines Matching refs:hash
266 u8 *hash = areq_ctx->tail; in crypto_authenc_ahash_fb() local
269 hash = (u8 *)ALIGN((unsigned long)hash + crypto_ahash_alignmask(auth), in crypto_authenc_ahash_fb()
278 ahash_request_set_crypt(ahreq, req->assoc, hash, req->assoclen); in crypto_authenc_ahash_fb()
286 ahash_request_set_crypt(ahreq, areq_ctx->sg, hash, in crypto_authenc_ahash_fb()
295 return hash; in crypto_authenc_ahash_fb()
305 u8 *hash = areq_ctx->tail; in crypto_authenc_ahash() local
308 hash = (u8 *)ALIGN((unsigned long)hash + crypto_ahash_alignmask(auth), in crypto_authenc_ahash()
312 ahash_request_set_crypt(ahreq, areq_ctx->sg, hash, in crypto_authenc_ahash()
321 return hash; in crypto_authenc_ahash()
338 u8 *hash; in crypto_authenc_genicv() local
366 hash = authenc_ahash_fn(req, flags); in crypto_authenc_genicv()
367 if (IS_ERR(hash)) in crypto_authenc_genicv()
368 return PTR_ERR(hash); in crypto_authenc_genicv()
370 scatterwalk_map_and_copy(hash, dst, cryptlen, in crypto_authenc_genicv()