Lines Matching refs:hash
346 u8 *hash = areq_ctx->tail; in crypto_authenc_esn_ahash() local
349 hash = (u8 *)ALIGN((unsigned long)hash + crypto_ahash_alignmask(auth), in crypto_authenc_esn_ahash()
358 ahash_request_set_crypt(ahreq, areq_ctx->hsg, hash, areq_ctx->headlen); in crypto_authenc_esn_ahash()
366 ahash_request_set_crypt(ahreq, areq_ctx->sg, hash, areq_ctx->cryptlen); in crypto_authenc_esn_ahash()
374 ahash_request_set_crypt(ahreq, areq_ctx->tsg, hash, in crypto_authenc_esn_ahash()
383 return hash; in crypto_authenc_esn_ahash()
402 u8 *hash; in crypto_authenc_esn_genicv() local
442 hash = crypto_authenc_esn_ahash(req, flags); in crypto_authenc_esn_genicv()
443 if (IS_ERR(hash)) in crypto_authenc_esn_genicv()
444 return PTR_ERR(hash); in crypto_authenc_esn_genicv()
446 scatterwalk_map_and_copy(hash, dst, cryptlen, in crypto_authenc_esn_genicv()