Lines Matching refs:pmeth
297 if (ctx->pctx->pmeth == NULL) { in do_sigver_init()
302 if (!(ctx->pctx->pmeth->flags & EVP_PKEY_FLAG_SIGCTX_CUSTOM)) { in do_sigver_init()
317 if (ctx->pctx->pmeth->verifyctx_init) { in do_sigver_init()
318 if (ctx->pctx->pmeth->verifyctx_init(ctx->pctx, ctx) <= 0) in do_sigver_init()
321 } else if (ctx->pctx->pmeth->digestverify != 0) { in do_sigver_init()
328 if (ctx->pctx->pmeth->signctx_init) { in do_sigver_init()
329 if (ctx->pctx->pmeth->signctx_init(ctx->pctx, ctx) <= 0) in do_sigver_init()
332 } else if (ctx->pctx->pmeth->digestsign != 0) { in do_sigver_init()
343 if (ctx->pctx->pmeth->flags & EVP_PKEY_FLAG_SIGCTX_CUSTOM) in do_sigver_init()
352 if (ctx->pctx->pmeth->digest_custom != NULL) in do_sigver_init()
423 && !ctx->pctx->pmeth->digest_custom(ctx->pctx, ctx)) in EVP_DigestSignUpdate()
458 && !ctx->pctx->pmeth->digest_custom(ctx->pctx, ctx)) in EVP_DigestVerifyUpdate()
500 if (pctx == NULL || pctx->pmeth == NULL) { in EVP_DigestSignFinal()
507 && !ctx->pctx->pmeth->digest_custom(ctx->pctx, ctx)) in EVP_DigestSignFinal()
511 if (pctx->pmeth->flags & EVP_PKEY_FLAG_SIGCTX_CUSTOM) { in EVP_DigestSignFinal()
513 return pctx->pmeth->signctx(pctx, sigret, siglen, ctx); in EVP_DigestSignFinal()
515 r = pctx->pmeth->signctx(pctx, sigret, siglen, ctx); in EVP_DigestSignFinal()
521 r = dctx->pmeth->signctx(dctx, sigret, siglen, ctx); in EVP_DigestSignFinal()
526 if (pctx->pmeth->signctx != NULL) in EVP_DigestSignFinal()
536 r = pctx->pmeth->signctx(pctx, sigret, siglen, ctx); in EVP_DigestSignFinal()
549 r = tmp_ctx->pctx->pmeth->signctx(tmp_ctx->pctx, in EVP_DigestSignFinal()
561 if (pctx->pmeth->signctx(pctx, sigret, siglen, ctx) <= 0) in EVP_DigestSignFinal()
597 if (ctx->pctx->pmeth != NULL && ctx->pctx->pmeth->digestsign != NULL) in EVP_DigestSign()
598 return ctx->pctx->pmeth->digestsign(ctx, sigret, siglen, tbs, tbslen); in EVP_DigestSign()
641 if (pctx == NULL || pctx->pmeth == NULL) { in EVP_DigestVerifyFinal()
648 && !ctx->pctx->pmeth->digest_custom(ctx->pctx, ctx)) in EVP_DigestVerifyFinal()
652 if (pctx->pmeth->verifyctx != NULL) in EVP_DigestVerifyFinal()
658 r = pctx->pmeth->verifyctx(pctx, sig, siglen, ctx); in EVP_DigestVerifyFinal()
671 r = tmp_ctx->pctx->pmeth->verifyctx(tmp_ctx->pctx, in EVP_DigestVerifyFinal()
704 if (ctx->pctx->pmeth != NULL && ctx->pctx->pmeth->digestverify != NULL) in EVP_DigestVerify()
705 return ctx->pctx->pmeth->digestverify(ctx, sigret, siglen, tbs, tbslen); in EVP_DigestVerify()