Lines Matching defs:tmp_ctx
149 EVP_MD_CTX tmp_ctx;
152 EVP_MD_CTX_init(&tmp_ctx);
153 if (!EVP_MD_CTX_copy_ex(&tmp_ctx, ctx))
156 r = tmp_ctx.pctx->pmeth->signctx(tmp_ctx.pctx,
157 sigret, siglen, &tmp_ctx);
159 r = EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen);
160 EVP_MD_CTX_cleanup(&tmp_ctx);
181 EVP_MD_CTX tmp_ctx;
191 EVP_MD_CTX_init(&tmp_ctx);
192 if (!EVP_MD_CTX_copy_ex(&tmp_ctx, ctx))
195 r = tmp_ctx.pctx->pmeth->verifyctx(tmp_ctx.pctx,
196 sig, siglen, &tmp_ctx);
198 r = EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen);
199 EVP_MD_CTX_cleanup(&tmp_ctx);