Lines Matching refs:tmp_ctx
82 EVP_MD_CTX tmp_ctx; in EVP_SignFinal() local
87 EVP_MD_CTX_init(&tmp_ctx); in EVP_SignFinal()
88 if (!EVP_MD_CTX_copy_ex(&tmp_ctx, ctx) || in EVP_SignFinal()
89 !EVP_DigestFinal_ex(&tmp_ctx, m, &m_len)) { in EVP_SignFinal()
92 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_SignFinal()
128 EVP_MD_CTX tmp_ctx; in EVP_VerifyFinal() local
131 EVP_MD_CTX_init(&tmp_ctx); in EVP_VerifyFinal()
132 if (!EVP_MD_CTX_copy_ex(&tmp_ctx, ctx) || in EVP_VerifyFinal()
133 !EVP_DigestFinal_ex(&tmp_ctx, m, &m_len)) { in EVP_VerifyFinal()
134 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_VerifyFinal()
137 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_VerifyFinal()