Searched refs:mdctx (Results 1 – 1 of 1) sorted by relevance
36 EVP_MD_CTX *mdctx; in sha_file() local58 mdctx = EVP_MD_CTX_new(); in sha_file()59 if (mdctx == NULL) { in sha_file()72 if (EVP_DigestInit_ex(mdctx, md_type, NULL) == 0) { in sha_file()78 EVP_DigestUpdate(mdctx, data, bytes); in sha_file()80 EVP_DigestFinal_ex(mdctx, md, &total_bytes); in sha_file()83 EVP_MD_CTX_free(mdctx); in sha_file()88 EVP_MD_CTX_free(mdctx); in sha_file()
Completed in 2 milliseconds