Home
last modified time | relevance | path

Searched refs:tmp_ctx (Results 1 – 3 of 3) sorted by relevance

/external/openssl/crypto/evp/
Dm_sigver.c140 EVP_MD_CTX tmp_ctx; in EVP_DigestSignFinal() local
143 EVP_MD_CTX_init(&tmp_ctx); in EVP_DigestSignFinal()
144 if (!EVP_MD_CTX_copy_ex(&tmp_ctx,ctx)) in EVP_DigestSignFinal()
147 r = tmp_ctx.pctx->pmeth->signctx(tmp_ctx.pctx, in EVP_DigestSignFinal()
148 sigret, siglen, &tmp_ctx); in EVP_DigestSignFinal()
150 r = EVP_DigestFinal_ex(&tmp_ctx,md,&mdlen); in EVP_DigestSignFinal()
151 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_DigestSignFinal()
176 EVP_MD_CTX tmp_ctx; in EVP_DigestVerifyFinal() local
186 EVP_MD_CTX_init(&tmp_ctx); in EVP_DigestVerifyFinal()
187 if (!EVP_MD_CTX_copy_ex(&tmp_ctx,ctx)) in EVP_DigestVerifyFinal()
[all …]
Dp_verify.c71 EVP_MD_CTX tmp_ctx; in EVP_VerifyFinal() local
74 EVP_MD_CTX_init(&tmp_ctx); in EVP_VerifyFinal()
75 if (!EVP_MD_CTX_copy_ex(&tmp_ctx,ctx)) in EVP_VerifyFinal()
77 if (!EVP_DigestFinal_ex(&tmp_ctx,&(m[0]),&m_len)) in EVP_VerifyFinal()
79 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_VerifyFinal()
Dp_sign.c84 EVP_MD_CTX tmp_ctx; in EVP_SignFinal() local
88 EVP_MD_CTX_init(&tmp_ctx); in EVP_SignFinal()
89 if (!EVP_MD_CTX_copy_ex(&tmp_ctx,ctx)) in EVP_SignFinal()
91 if (!EVP_DigestFinal_ex(&tmp_ctx,&(m[0]),&m_len)) in EVP_SignFinal()
93 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_SignFinal()