Lines Matching refs:pmeth
304 if (ctx->pctx->pmeth == NULL) {
309 if (!(ctx->pctx->pmeth->flags & EVP_PKEY_FLAG_SIGCTX_CUSTOM)) {
324 if (ctx->pctx->pmeth->verifyctx_init) {
325 if (ctx->pctx->pmeth->verifyctx_init(ctx->pctx, ctx) <= 0)
328 } else if (ctx->pctx->pmeth->digestverify != 0) {
335 if (ctx->pctx->pmeth->signctx_init) {
336 if (ctx->pctx->pmeth->signctx_init(ctx->pctx, ctx) <= 0)
339 } else if (ctx->pctx->pmeth->digestsign != 0) {
350 if (ctx->pctx->pmeth->flags & EVP_PKEY_FLAG_SIGCTX_CUSTOM)
359 if (ctx->pctx->pmeth->digest_custom != NULL)
429 && !ctx->pctx->pmeth->digest_custom(ctx->pctx, ctx))
459 && !ctx->pctx->pmeth->digest_custom(ctx->pctx, ctx))
495 if (pctx == NULL || pctx->pmeth == NULL) {
502 && !ctx->pctx->pmeth->digest_custom(ctx->pctx, ctx))
506 if (pctx->pmeth->flags & EVP_PKEY_FLAG_SIGCTX_CUSTOM) {
508 return pctx->pmeth->signctx(pctx, sigret, siglen, ctx);
510 r = pctx->pmeth->signctx(pctx, sigret, siglen, ctx);
515 r = dctx->pmeth->signctx(dctx, sigret, siglen, ctx);
520 if (pctx->pmeth->signctx != NULL)
530 r = pctx->pmeth->signctx(pctx, sigret, siglen, ctx);
543 r = tmp_ctx->pctx->pmeth->signctx(tmp_ctx->pctx,
555 if (pctx->pmeth->signctx(pctx, sigret, siglen, ctx) <= 0)
583 if (ctx->pctx->pmeth != NULL && ctx->pctx->pmeth->digestsign != NULL)
584 return ctx->pctx->pmeth->digestsign(ctx, sigret, siglen, tbs, tbslen);
620 if (pctx == NULL || pctx->pmeth == NULL) {
627 && !ctx->pctx->pmeth->digest_custom(ctx->pctx, ctx))
631 if (pctx->pmeth->verifyctx != NULL)
637 r = pctx->pmeth->verifyctx(pctx, sig, siglen, ctx);
649 r = tmp_ctx->pctx->pmeth->verifyctx(tmp_ctx->pctx,
675 if (ctx->pctx->pmeth != NULL && ctx->pctx->pmeth->digestverify != NULL)
676 return ctx->pctx->pmeth->digestverify(ctx, sigret, siglen, tbs, tbslen);