Lines Matching refs:algctx
45 if (ctx->algctx != NULL) { in evp_md_ctx_clear_digest()
47 ctx->digest->freectx(ctx->algctx); in evp_md_ctx_clear_digest()
48 ctx->algctx = NULL; in evp_md_ctx_clear_digest()
154 && ctx->pctx->op.sig.algctx != NULL) { in evp_md_init_internal()
172 if (ctx->algctx != NULL) { in evp_md_init_internal()
178 ctx->digest->freectx(ctx->algctx); in evp_md_init_internal()
179 ctx->algctx = NULL; in evp_md_init_internal()
263 if (ctx->algctx != NULL && ctx->digest != NULL && ctx->digest != type) { in evp_md_init_internal()
265 ctx->digest->freectx(ctx->algctx); in evp_md_init_internal()
266 ctx->algctx = NULL; in evp_md_init_internal()
277 if (ctx->algctx == NULL) { in evp_md_init_internal()
278 ctx->algctx = ctx->digest->newctx(ossl_provider_ctx(type->prov)); in evp_md_init_internal()
279 if (ctx->algctx == NULL) { in evp_md_init_internal()
290 return ctx->digest->dinit(ctx->algctx, params); in evp_md_init_internal()
382 && ctx->pctx->op.sig.algctx != NULL) { in EVP_DigestUpdate()
408 return ctx->digest->dupdate(ctx->algctx, data, count); in EVP_DigestUpdate()
446 ret = ctx->digest->dfinal(ctx->algctx, md, &size, mdsize); in EVP_DigestFinal_ex()
496 ret = ctx->digest->dfinal(ctx->algctx, md, &size, size); in EVP_DigestFinalXOF()
558 out->algctx = NULL; in EVP_MD_CTX_copy_ex()
563 if (in->algctx != NULL) { in EVP_MD_CTX_copy_ex()
564 out->algctx = in->digest->dupctx(in->algctx); in EVP_MD_CTX_copy_ex()
565 if (out->algctx == NULL) { in EVP_MD_CTX_copy_ex()
704 && pctx->op.sig.algctx != NULL in EVP_MD_CTX_set_params()
706 return pctx->op.sig.signature->set_ctx_md_params(pctx->op.sig.algctx, in EVP_MD_CTX_set_params()
710 return ctx->digest->set_ctx_params(ctx->algctx, params); in EVP_MD_CTX_set_params()
739 && pctx->op.sig.algctx != NULL in EVP_MD_CTX_settable_params()
742 pctx->op.sig.algctx); in EVP_MD_CTX_settable_params()
746 return ctx->digest->settable_ctx_params(ctx->algctx, alg); in EVP_MD_CTX_settable_params()
760 && pctx->op.sig.algctx != NULL in EVP_MD_CTX_get_params()
762 return pctx->op.sig.signature->get_ctx_md_params(pctx->op.sig.algctx, in EVP_MD_CTX_get_params()
766 return ctx->digest->get_ctx_params(ctx->algctx, params); in EVP_MD_CTX_get_params()
795 && pctx->op.sig.algctx != NULL in EVP_MD_CTX_gettable_params()
798 pctx->op.sig.algctx); in EVP_MD_CTX_gettable_params()
802 return ctx->digest->gettable_ctx_params(ctx->algctx, provctx); in EVP_MD_CTX_gettable_params()