Home
last modified time | relevance | path

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

/openssl/test/
H A Dhmactest.c254 EVP_MD_CTX *ctx_tmp = NULL; in test_hmac_copy_uninited() local
261 || !TEST_ptr(ctx_tmp = EVP_MD_CTX_new()) in test_hmac_copy_uninited()
262 || !TEST_true(EVP_MD_CTX_copy(ctx_tmp, ctx))) in test_hmac_copy_uninited()
265 ctx = ctx_tmp; in test_hmac_copy_uninited()
266 ctx_tmp = NULL; in test_hmac_copy_uninited()
273 EVP_MD_CTX_free(ctx_tmp); in test_hmac_copy_uninited()
/openssl/crypto/pkcs7/
H A Dpk7_doit.c774 EVP_MD_CTX *mdc, *ctx_tmp; in PKCS7_dataFinal() local
792 ctx_tmp = EVP_MD_CTX_new(); in PKCS7_dataFinal()
793 if (ctx_tmp == NULL) { in PKCS7_dataFinal()
874 if (!EVP_MD_CTX_copy_ex(ctx_tmp, mdc)) in PKCS7_dataFinal()
884 if (!do_pkcs7_signed_attrib(si, ctx_tmp)) in PKCS7_dataFinal()
893 if (!EVP_SignFinal_ex(ctx_tmp, abuf, &abuflen, si->pkey, in PKCS7_dataFinal()
942 EVP_MD_CTX_free(ctx_tmp); in PKCS7_dataFinal()

Completed in 6 milliseconds