Lines Matching refs:algctx

46     if (ctx->algctx != NULL) {  in evp_md_ctx_clear_digest()
48 ctx->digest->freectx(ctx->algctx); in evp_md_ctx_clear_digest()
49 ctx->algctx = NULL; in evp_md_ctx_clear_digest()
145 if (ctx->algctx != NULL) { in evp_md_ctx_free_algctx()
151 ctx->digest->freectx(ctx->algctx); in evp_md_ctx_free_algctx()
152 ctx->algctx = NULL; in evp_md_ctx_free_algctx()
167 && ctx->pctx->op.sig.algctx != NULL) { in evp_md_init_internal()
289 if (ctx->algctx == NULL) { in evp_md_init_internal()
290 ctx->algctx = ctx->digest->newctx(ossl_provider_ctx(type->prov)); in evp_md_init_internal()
291 if (ctx->algctx == NULL) { in evp_md_init_internal()
302 return ctx->digest->dinit(ctx->algctx, params); in evp_md_init_internal()
397 && ctx->pctx->op.sig.algctx != NULL) { in EVP_DigestUpdate()
425 return ctx->digest->dupdate(ctx->algctx, data, count); in EVP_DigestUpdate()
468 ret = ctx->digest->dfinal(ctx->algctx, md, &size, mdsize); in EVP_DigestFinal_ex()
531 ret = ctx->digest->dfinal(ctx->algctx, md, &size, size); in EVP_DigestFinalXOF()
572 return ctx->digest->dsqueeze(ctx->algctx, md, &size, size); in EVP_DigestSqueeze()
622 in->digest->copyctx(out->algctx, in->algctx); in EVP_MD_CTX_copy_ex()
638 out->algctx = NULL; in EVP_MD_CTX_copy_ex()
643 if (in->algctx != NULL) { in EVP_MD_CTX_copy_ex()
644 out->algctx = in->digest->dupctx(in->algctx); in EVP_MD_CTX_copy_ex()
645 if (out->algctx == NULL) { in EVP_MD_CTX_copy_ex()
783 && pctx->op.sig.algctx != NULL in EVP_MD_CTX_set_params()
785 return pctx->op.sig.signature->set_ctx_md_params(pctx->op.sig.algctx, in EVP_MD_CTX_set_params()
789 return ctx->digest->set_ctx_params(ctx->algctx, params); in EVP_MD_CTX_set_params()
818 && pctx->op.sig.algctx != NULL in EVP_MD_CTX_settable_params()
821 pctx->op.sig.algctx); in EVP_MD_CTX_settable_params()
825 return ctx->digest->settable_ctx_params(ctx->algctx, alg); in EVP_MD_CTX_settable_params()
839 && pctx->op.sig.algctx != NULL in EVP_MD_CTX_get_params()
841 return pctx->op.sig.signature->get_ctx_md_params(pctx->op.sig.algctx, in EVP_MD_CTX_get_params()
845 return ctx->digest->get_ctx_params(ctx->algctx, params); in EVP_MD_CTX_get_params()
874 && pctx->op.sig.algctx != NULL in EVP_MD_CTX_gettable_params()
877 pctx->op.sig.algctx); in EVP_MD_CTX_gettable_params()
881 return ctx->digest->gettable_ctx_params(ctx->algctx, provctx); in EVP_MD_CTX_gettable_params()