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 MS_STATIC 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 MS_STATIC 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 MS_STATIC EVP_MD_CTX tmp_ctx; in EVP_VerifyFinal() local
73 EVP_MD_CTX_init(&tmp_ctx); in EVP_VerifyFinal()
74 EVP_MD_CTX_copy_ex(&tmp_ctx,ctx); in EVP_VerifyFinal()
75 EVP_DigestFinal_ex(&tmp_ctx,&(m[0]),&m_len); in EVP_VerifyFinal()
76 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_VerifyFinal()
Dp_sign.c84 MS_STATIC EVP_MD_CTX tmp_ctx; in EVP_SignFinal() local
87 EVP_MD_CTX_init(&tmp_ctx); in EVP_SignFinal()
88 EVP_MD_CTX_copy_ex(&tmp_ctx,ctx); in EVP_SignFinal()
89 EVP_DigestFinal_ex(&tmp_ctx,&(m[0]),&m_len); in EVP_SignFinal()
90 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_SignFinal()