Lines Matching refs:sig
78 || (signature = locpctx->op.sig.signature) == NULL in do_sigver_init()
79 || locpctx->op.sig.algctx == NULL)) in do_sigver_init()
195 locpctx->op.sig.signature = signature; in do_sigver_init()
198 locpctx->op.sig.algctx in do_sigver_init()
200 if (locpctx->op.sig.algctx == NULL) { in do_sigver_init()
259 ret = signature->digest_verify_init(locpctx->op.sig.algctx, in do_sigver_init()
266 ret = signature->digest_sign_init(locpctx->op.sig.algctx, in do_sigver_init()
407 || pctx->op.sig.algctx == NULL in EVP_DigestSignUpdate()
408 || pctx->op.sig.signature == NULL) in EVP_DigestSignUpdate()
411 if (pctx->op.sig.signature->digest_sign_update == NULL) { in EVP_DigestSignUpdate()
416 return pctx->op.sig.signature->digest_sign_update(pctx->op.sig.algctx, in EVP_DigestSignUpdate()
442 || pctx->op.sig.algctx == NULL in EVP_DigestVerifyUpdate()
443 || pctx->op.sig.signature == NULL) in EVP_DigestVerifyUpdate()
446 if (pctx->op.sig.signature->digest_verify_update == NULL) { in EVP_DigestVerifyUpdate()
451 return pctx->op.sig.signature->digest_verify_update(pctx->op.sig.algctx, in EVP_DigestVerifyUpdate()
480 || pctx->op.sig.algctx == NULL in EVP_DigestSignFinal()
481 || pctx->op.sig.signature == NULL) in EVP_DigestSignFinal()
490 r = pctx->op.sig.signature->digest_sign_final(pctx->op.sig.algctx, in EVP_DigestSignFinal()
585 && pctx->op.sig.algctx != NULL in EVP_DigestSign()
586 && pctx->op.sig.signature != NULL) { in EVP_DigestSign()
587 if (pctx->op.sig.signature->digest_sign != NULL) { in EVP_DigestSign()
590 return pctx->op.sig.signature->digest_sign(pctx->op.sig.algctx, in EVP_DigestSign()
606 int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig, in EVP_DigestVerifyFinal() argument
622 || pctx->op.sig.algctx == NULL in EVP_DigestVerifyFinal()
623 || pctx->op.sig.signature == NULL) in EVP_DigestVerifyFinal()
632 r = pctx->op.sig.signature->digest_verify_final(pctx->op.sig.algctx, in EVP_DigestVerifyFinal()
633 sig, siglen); in EVP_DigestVerifyFinal()
658 r = pctx->pmeth->verifyctx(pctx, sig, siglen, ctx); in EVP_DigestVerifyFinal()
672 sig, siglen, tmp_ctx); in EVP_DigestVerifyFinal()
679 return EVP_PKEY_verify(pctx, sig, siglen, md, mdlen); in EVP_DigestVerifyFinal()
694 && pctx->op.sig.algctx != NULL in EVP_DigestVerify()
695 && pctx->op.sig.signature != NULL) { in EVP_DigestVerify()
696 if (pctx->op.sig.signature->digest_verify != NULL) { in EVP_DigestVerify()
698 return pctx->op.sig.signature->digest_verify(pctx->op.sig.algctx, in EVP_DigestVerify()