Lines Matching refs:mdctx
3854 EVP_MD_CTX *mdctx; in Curl_ossl_md5sum() local
3858 mdctx = EVP_MD_CTX_create(); in Curl_ossl_md5sum()
3859 EVP_DigestInit_ex(mdctx, EVP_md5(), NULL); in Curl_ossl_md5sum()
3860 EVP_DigestUpdate(mdctx, tmp, tmplen); in Curl_ossl_md5sum()
3861 EVP_DigestFinal_ex(mdctx, md5sum, &len); in Curl_ossl_md5sum()
3862 EVP_MD_CTX_destroy(mdctx); in Curl_ossl_md5sum()
3872 EVP_MD_CTX *mdctx; in Curl_ossl_sha256sum() local
3876 mdctx = EVP_MD_CTX_create(); in Curl_ossl_sha256sum()
3877 EVP_DigestInit_ex(mdctx, EVP_sha256(), NULL); in Curl_ossl_sha256sum()
3878 EVP_DigestUpdate(mdctx, tmp, tmplen); in Curl_ossl_sha256sum()
3879 EVP_DigestFinal_ex(mdctx, sha256sum, &len); in Curl_ossl_sha256sum()
3880 EVP_MD_CTX_destroy(mdctx); in Curl_ossl_sha256sum()