Lines Matching refs:sha1_hash_ctx

80 static inline struct mcryptd_hash_request_ctx *cast_hash_to_mcryptd_ctx(struct sha1_hash_ctx *hash_…  in cast_hash_to_mcryptd_ctx()
134 static struct sha1_hash_ctx *sha1_ctx_mgr_resubmit(struct sha1_ctx_mgr *mgr, struct sha1_hash_ctx *… in sha1_ctx_mgr_resubmit()
180 ctx = (struct sha1_hash_ctx *) sha1_job_mgr_submit(&mgr->mgr, in sha1_ctx_mgr_resubmit()
200 ctx = (struct sha1_hash_ctx *) sha1_job_mgr_submit(&mgr->mgr, &ctx->job); in sha1_ctx_mgr_resubmit()
211 static struct sha1_hash_ctx *sha1_ctx_mgr_get_comp_ctx(struct sha1_ctx_mgr *mgr) in sha1_ctx_mgr_get_comp_ctx()
220 struct sha1_hash_ctx *ctx; in sha1_ctx_mgr_get_comp_ctx()
222 ctx = (struct sha1_hash_ctx *) sha1_job_mgr_get_comp_job(&mgr->mgr); in sha1_ctx_mgr_get_comp_ctx()
231 static struct sha1_hash_ctx *sha1_ctx_mgr_submit(struct sha1_ctx_mgr *mgr, in sha1_ctx_mgr_submit()
232 struct sha1_hash_ctx *ctx, in sha1_ctx_mgr_submit()
313 ctx = (struct sha1_hash_ctx *) sha1_job_mgr_submit(&mgr->mgr, &ctx->job); in sha1_ctx_mgr_submit()
320 static struct sha1_hash_ctx *sha1_ctx_mgr_flush(struct sha1_ctx_mgr *mgr) in sha1_ctx_mgr_flush()
322 struct sha1_hash_ctx *ctx; in sha1_ctx_mgr_flush()
325 ctx = (struct sha1_hash_ctx *) sha1_job_mgr_flush(&mgr->mgr); in sha1_ctx_mgr_flush()
348 struct sha1_hash_ctx *sctx = shash_desc_ctx(desc); in sha1_mb_init()
366 struct sha1_hash_ctx *sctx = shash_desc_ctx(&rctx->desc); in sha1_mb_set_results()
381 struct sha1_hash_ctx *sha_ctx; in sha_finish_walk()
397 sha_ctx = (struct sha1_hash_ctx *) shash_desc_ctx(&rctx->desc); in sha_finish_walk()
427 struct sha1_hash_ctx *sha_ctx; in sha_complete_job()
497 struct sha1_hash_ctx *sha_ctx; in sha1_mb_update()
521 sha_ctx = (struct sha1_hash_ctx *) shash_desc_ctx(desc); in sha1_mb_update()
556 struct sha1_hash_ctx *sha_ctx; in sha1_mb_finup()
583 sha_ctx = (struct sha1_hash_ctx *) shash_desc_ctx(desc); in sha1_mb_finup()
615 struct sha1_hash_ctx *sha_ctx; in sha1_mb_final()
631 sha_ctx = (struct sha1_hash_ctx *) shash_desc_ctx(desc); in sha1_mb_final()
659 struct sha1_hash_ctx *sctx = shash_desc_ctx(desc); in sha1_mb_export()
668 struct sha1_hash_ctx *sctx = shash_desc_ctx(desc); in sha1_mb_import()
684 .descsize = sizeof(struct sha1_hash_ctx),
685 .statesize = sizeof(struct sha1_hash_ctx),
823 struct sha1_hash_ctx *sha_ctx; in sha1_mb_flusher()
834 sha_ctx = (struct sha1_hash_ctx *) sha1_ctx_mgr_flush(cstate->mgr); in sha1_mb_flusher()