Home
last modified time | relevance | path

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

/openssl/crypto/evp/
H A Dp_verify.c31 EVP_MD_CTX *tmp_ctx = EVP_MD_CTX_new(); in EVP_VerifyFinal_ex() local
33 if (tmp_ctx == NULL) { in EVP_VerifyFinal_ex()
37 rv = EVP_MD_CTX_copy_ex(tmp_ctx, ctx); in EVP_VerifyFinal_ex()
39 rv = EVP_DigestFinal_ex(tmp_ctx, m, &m_len); in EVP_VerifyFinal_ex()
42 EVP_MD_CTX_free(tmp_ctx); in EVP_VerifyFinal_ex()
H A Dp_sign.c33 EVP_MD_CTX *tmp_ctx = EVP_MD_CTX_new(); in EVP_SignFinal_ex() local
35 if (tmp_ctx == NULL) { in EVP_SignFinal_ex()
39 rv = EVP_MD_CTX_copy_ex(tmp_ctx, ctx); in EVP_SignFinal_ex()
41 rv = EVP_DigestFinal_ex(tmp_ctx, m, &m_len); in EVP_SignFinal_ex()
44 EVP_MD_CTX_free(tmp_ctx); in EVP_SignFinal_ex()
H A Dm_sigver.c540 EVP_MD_CTX *tmp_ctx = EVP_MD_CTX_new(); in EVP_DigestSignFinal() local
542 if (tmp_ctx == NULL) in EVP_DigestSignFinal()
545 EVP_MD_CTX_free(tmp_ctx); in EVP_DigestSignFinal()
549 r = tmp_ctx->pctx->pmeth->signctx(tmp_ctx->pctx, in EVP_DigestSignFinal()
553 EVP_MD_CTX_free(tmp_ctx); in EVP_DigestSignFinal()
663 EVP_MD_CTX *tmp_ctx = EVP_MD_CTX_new(); in EVP_DigestVerifyFinal() local
664 if (tmp_ctx == NULL) in EVP_DigestVerifyFinal()
666 if (!EVP_MD_CTX_copy_ex(tmp_ctx, ctx)) { in EVP_DigestVerifyFinal()
667 EVP_MD_CTX_free(tmp_ctx); in EVP_DigestVerifyFinal()
671 r = tmp_ctx->pctx->pmeth->verifyctx(tmp_ctx->pctx, in EVP_DigestVerifyFinal()
[all …]

Completed in 8 milliseconds