Home
last modified time | relevance | path

Searched refs:req_ctx (Results 1 – 3 of 3) sorted by relevance

/arch/x86/crypto/sha256-mb/
Dsha256_mb.c460 struct mcryptd_hash_request_ctx *req_ctx; in sha_complete_job() local
479 req_ctx = cast_hash_to_mcryptd_ctx(sha_ctx); in sha_complete_job()
480 ret = sha_finish_walk(&req_ctx, cstate, false); in sha_complete_job()
481 if (req_ctx) { in sha_complete_job()
483 list_del(&req_ctx->waiter); in sha_complete_job()
486 req = cast_mcryptd_ctx_to_req(req_ctx); in sha_complete_job()
488 req_ctx->complete(&req->base, ret); in sha_complete_job()
491 req_ctx->complete(&req->base, ret); in sha_complete_job()
/arch/x86/crypto/sha1-mb/
Dsha1_mb.c462 struct mcryptd_hash_request_ctx *req_ctx; in sha_complete_job() local
481 req_ctx = cast_hash_to_mcryptd_ctx(sha_ctx); in sha_complete_job()
482 ret = sha_finish_walk(&req_ctx, cstate, false); in sha_complete_job()
483 if (req_ctx) { in sha_complete_job()
485 list_del(&req_ctx->waiter); in sha_complete_job()
488 req = cast_mcryptd_ctx_to_req(req_ctx); in sha_complete_job()
490 req_ctx->complete(&req->base, ret); in sha_complete_job()
493 req_ctx->complete(&req->base, ret); in sha_complete_job()
/arch/x86/crypto/sha512-mb/
Dsha512_mb.c492 struct mcryptd_hash_request_ctx *req_ctx; in sha_complete_job() local
512 req_ctx = cast_hash_to_mcryptd_ctx(sha_ctx); in sha_complete_job()
513 ret = sha_finish_walk(&req_ctx, cstate, false); in sha_complete_job()
514 if (req_ctx) { in sha_complete_job()
516 list_del(&req_ctx->waiter); in sha_complete_job()
519 req = cast_mcryptd_ctx_to_req(req_ctx); in sha_complete_job()
521 req_ctx->complete(&req->base, ret); in sha_complete_job()
524 req_ctx->complete(&req->base, ret); in sha_complete_job()