Lines Matching refs:sigret

466 int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret,  in EVP_DigestSignFinal()  argument
484 if (sigret != NULL && (ctx->flags & EVP_MD_CTX_FLAG_FINALISE) == 0) { in EVP_DigestSignFinal()
491 sigret, siglen, in EVP_DigestSignFinal()
492 sigret == NULL ? 0 : *siglen); in EVP_DigestSignFinal()
493 if (dctx == NULL && sigret != NULL) in EVP_DigestSignFinal()
512 if (sigret == NULL) 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()
530 if (sigret != NULL) { in EVP_DigestSignFinal()
536 r = pctx->pmeth->signctx(pctx, sigret, siglen, ctx); in EVP_DigestSignFinal()
550 sigret, siglen, tmp_ctx); in EVP_DigestSignFinal()
557 if (EVP_PKEY_sign(pctx, sigret, siglen, md, mdlen) <= 0) in EVP_DigestSignFinal()
561 if (pctx->pmeth->signctx(pctx, sigret, siglen, ctx) <= 0) in EVP_DigestSignFinal()
566 if (s <= 0 || EVP_PKEY_sign(pctx, sigret, siglen, NULL, s) <= 0) in EVP_DigestSignFinal()
573 int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen, in EVP_DigestSign() argument
588 if (sigret != NULL) in EVP_DigestSign()
591 sigret, siglen, in EVP_DigestSign()
592 sigret == NULL ? 0 : *siglen, in EVP_DigestSign()
598 return ctx->pctx->pmeth->digestsign(ctx, sigret, siglen, tbs, tbslen); in EVP_DigestSign()
601 if (sigret != NULL && EVP_DigestSignUpdate(ctx, tbs, tbslen) <= 0) in EVP_DigestSign()
603 return EVP_DigestSignFinal(ctx, sigret, siglen); in EVP_DigestSign()
682 int EVP_DigestVerify(EVP_MD_CTX *ctx, const unsigned char *sigret, in EVP_DigestVerify() argument
699 sigret, siglen, in EVP_DigestVerify()
705 return ctx->pctx->pmeth->digestverify(ctx, sigret, siglen, tbs, tbslen); in EVP_DigestVerify()
709 return EVP_DigestVerifyFinal(ctx, sigret, siglen); in EVP_DigestVerify()