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.c157 EVP_MD_CTX tmp_ctx; in EVP_DigestSignFinal() local
162 EVP_MD_CTX_init(&tmp_ctx); in EVP_DigestSignFinal()
163 ret = EVP_MD_CTX_copy_ex(&tmp_ctx, ctx) && in EVP_DigestSignFinal()
164 EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen) && in EVP_DigestSignFinal()
166 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_DigestSignFinal()
182 EVP_MD_CTX tmp_ctx; in EVP_DigestVerifyFinal() local
187 EVP_MD_CTX_init(&tmp_ctx); in EVP_DigestVerifyFinal()
188 ret = EVP_MD_CTX_copy_ex(&tmp_ctx, ctx) && in EVP_DigestVerifyFinal()
189 EVP_DigestFinal_ex(&tmp_ctx, md, &mdlen) && in EVP_DigestVerifyFinal()
191 EVP_MD_CTX_cleanup(&tmp_ctx); in EVP_DigestVerifyFinal()