Lines Matching refs:sha256_hash_ctx

81 		*cast_hash_to_mcryptd_ctx(struct sha256_hash_ctx *hash_ctx)  in cast_hash_to_mcryptd_ctx()
131 static struct sha256_hash_ctx
133 struct sha256_hash_ctx *ctx) in sha256_ctx_mgr_resubmit()
179 ctx = (struct sha256_hash_ctx *) in sha256_ctx_mgr_resubmit()
200 ctx = (struct sha256_hash_ctx *) in sha256_ctx_mgr_resubmit()
212 static struct sha256_hash_ctx
223 struct sha256_hash_ctx *ctx; in sha256_ctx_mgr_get_comp_ctx()
225 ctx = (struct sha256_hash_ctx *) sha256_job_mgr_get_comp_job(&mgr->mgr); in sha256_ctx_mgr_get_comp_ctx()
234 static struct sha256_hash_ctx *sha256_ctx_mgr_submit(struct sha256_ctx_mgr *mgr, in sha256_ctx_mgr_submit()
235 struct sha256_hash_ctx *ctx, in sha256_ctx_mgr_submit()
316 ctx = (struct sha256_hash_ctx *) in sha256_ctx_mgr_submit()
324 static struct sha256_hash_ctx *sha256_ctx_mgr_flush(struct sha256_ctx_mgr *mgr) in sha256_ctx_mgr_flush()
326 struct sha256_hash_ctx *ctx; in sha256_ctx_mgr_flush()
329 ctx = (struct sha256_hash_ctx *) in sha256_ctx_mgr_flush()
354 struct sha256_hash_ctx *sctx = ahash_request_ctx(areq); in sha256_mb_init()
375 struct sha256_hash_ctx *sctx = ahash_request_ctx(&rctx->areq); in sha256_mb_set_results()
390 struct sha256_hash_ctx *sha_ctx; in sha_finish_walk()
406 sha_ctx = (struct sha256_hash_ctx *) in sha_finish_walk()
438 struct sha256_hash_ctx *sha_ctx; in sha_complete_job()
507 struct sha256_hash_ctx *sha_ctx; in sha256_mb_update()
530 sha_ctx = (struct sha256_hash_ctx *) ahash_request_ctx(areq); in sha256_mb_update()
565 struct sha256_hash_ctx *sha_ctx; in sha256_mb_finup()
591 sha_ctx = (struct sha256_hash_ctx *) ahash_request_ctx(areq); in sha256_mb_finup()
625 struct sha256_hash_ctx *sha_ctx; in sha256_mb_final()
640 sha_ctx = (struct sha256_hash_ctx *) ahash_request_ctx(areq); in sha256_mb_final()
669 struct sha256_hash_ctx *sctx = ahash_request_ctx(areq); in sha256_mb_export()
678 struct sha256_hash_ctx *sctx = ahash_request_ctx(areq); in sha256_mb_import()
717 sizeof(struct sha256_hash_ctx)); in sha256_mb_areq_init_tfm()
738 .statesize = sizeof(struct sha256_hash_ctx),
756 .cra_ctxsize = sizeof(struct sha256_hash_ctx),
868 .statesize = sizeof(struct sha256_hash_ctx),
898 struct sha256_hash_ctx *sha_ctx; in sha256_mb_flusher()
909 sha_ctx = (struct sha256_hash_ctx *) in sha256_mb_flusher()