Lines Matching refs:ahashreq

332 	struct ahash_request *ahashreq = ahash_request_cast(req);  in mv_cesa_ahash_step()  local
333 struct mv_cesa_ahash_req *creq = ahash_request_ctx(ahashreq); in mv_cesa_ahash_step()
336 mv_cesa_ahash_dma_step(ahashreq); in mv_cesa_ahash_step()
338 mv_cesa_ahash_std_step(ahashreq); in mv_cesa_ahash_step()
343 struct ahash_request *ahashreq = ahash_request_cast(req); in mv_cesa_ahash_process() local
344 struct mv_cesa_ahash_req *creq = ahash_request_ctx(ahashreq); in mv_cesa_ahash_process()
349 return mv_cesa_ahash_std_process(ahashreq, status); in mv_cesa_ahash_process()
354 struct ahash_request *ahashreq = ahash_request_cast(req); in mv_cesa_ahash_complete() local
355 struct mv_cesa_ahash_req *creq = ahash_request_ctx(ahashreq); in mv_cesa_ahash_complete()
360 digsize = crypto_ahash_digestsize(crypto_ahash_reqtfm(ahashreq)); in mv_cesa_ahash_complete()
375 memcpy(ahashreq->result, data, digsize); in mv_cesa_ahash_complete()
386 __le32 *result = (void *)ahashreq->result; in mv_cesa_ahash_complete()
391 __be32 *result = (void *)ahashreq->result; in mv_cesa_ahash_complete()
399 atomic_sub(ahashreq->nbytes, &engine->load); in mv_cesa_ahash_complete()
405 struct ahash_request *ahashreq = ahash_request_cast(req); in mv_cesa_ahash_prepare() local
406 struct mv_cesa_ahash_req *creq = ahash_request_ctx(ahashreq); in mv_cesa_ahash_prepare()
411 mv_cesa_ahash_dma_prepare(ahashreq); in mv_cesa_ahash_prepare()
413 mv_cesa_ahash_std_prepare(ahashreq); in mv_cesa_ahash_prepare()
418 struct ahash_request *ahashreq = ahash_request_cast(req); in mv_cesa_ahash_req_cleanup() local
419 struct mv_cesa_ahash_req *creq = ahash_request_ctx(ahashreq); in mv_cesa_ahash_req_cleanup()
422 mv_cesa_ahash_last_cleanup(ahashreq); in mv_cesa_ahash_req_cleanup()
424 mv_cesa_ahash_cleanup(ahashreq); in mv_cesa_ahash_req_cleanup()
427 sg_pcopy_to_buffer(ahashreq->src, creq->src_nents, in mv_cesa_ahash_req_cleanup()
430 ahashreq->nbytes - creq->cache_ptr); in mv_cesa_ahash_req_cleanup()