Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/evp/
Dsign.c82 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()
[all …]
Ddigestsign.c127 EVP_MD_CTX tmp_ctx; in EVP_DigestSignFinal() local
132 EVP_MD_CTX_init(&tmp_ctx); in EVP_DigestSignFinal()
133 ret = EVP_MD_CTX_copy_ex(&tmp_ctx, ctx) && in EVP_DigestSignFinal()
134 EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen) && in EVP_DigestSignFinal()
136 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_DigestSignFinal()
147 EVP_MD_CTX tmp_ctx; in EVP_DigestVerifyFinal() local
152 EVP_MD_CTX_init(&tmp_ctx); in EVP_DigestVerifyFinal()
153 ret = EVP_MD_CTX_copy_ex(&tmp_ctx, ctx) && in EVP_DigestVerifyFinal()
154 EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen) && in EVP_DigestVerifyFinal()
156 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_DigestVerifyFinal()