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()
627 out->algctx = NULL; in EVP_MD_CTX_copy_ex()
632 if (in->algctx != NULL) { in EVP_MD_CTX_copy_ex()
633 out->algctx = in->digest->dupctx(in->algctx); in EVP_MD_CTX_copy_ex()
634 if (out->algctx == NULL) { in EVP_MD_CTX_copy_ex()
771 && pctx->op.sig.algctx != NULL in EVP_MD_CTX_set_params()
773 return pctx->op.sig.signature->set_ctx_md_params(pctx->op.sig.algctx, in EVP_MD_CTX_set_params()
777 return ctx->digest->set_ctx_params(ctx->algctx, params); in EVP_MD_CTX_set_params()
806 && pctx->op.sig.algctx != NULL in EVP_MD_CTX_settable_params()
809 pctx->op.sig.algctx); in EVP_MD_CTX_settable_params()
813 return ctx->digest->settable_ctx_params(ctx->algctx, alg); in EVP_MD_CTX_settable_params()
827 && pctx->op.sig.algctx != NULL in EVP_MD_CTX_get_params()
829 return pctx->op.sig.signature->get_ctx_md_params(pctx->op.sig.algctx, in EVP_MD_CTX_get_params()
833 return ctx->digest->get_ctx_params(ctx->algctx, params); in EVP_MD_CTX_get_params()
862 && pctx->op.sig.algctx != NULL in EVP_MD_CTX_gettable_params()
865 pctx->op.sig.algctx); in EVP_MD_CTX_gettable_params()
869 return ctx->digest->gettable_ctx_params(ctx->algctx, provctx); in EVP_MD_CTX_gettable_params()