Searched refs:mdctx (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/tools/build/feature/ |
D | test-libcrypto.c | 8 EVP_MD_CTX *mdctx; in main() local 13 mdctx = EVP_MD_CTX_new(); in main() 14 if (!mdctx) in main() 17 EVP_DigestInit_ex(mdctx, EVP_md5(), NULL); in main() 18 EVP_DigestUpdate(mdctx, &dat[0], sizeof(dat)); in main() 19 EVP_DigestFinal_ex(mdctx, &md[0], &digest_len); in main() 20 EVP_MD_CTX_free(mdctx); in main()
|
/linux-6.6.21/tools/perf/util/ |
D | genelf.c | 142 EVP_MD_CTX *mdctx; in gen_build_id() local 147 mdctx = EVP_MD_CTX_new(); in gen_build_id() 148 if (!mdctx) in gen_build_id() 151 EVP_DigestInit_ex(mdctx, EVP_md5(), NULL); in gen_build_id() 152 EVP_DigestUpdate(mdctx, &load_addr, sizeof(load_addr)); in gen_build_id() 153 EVP_DigestUpdate(mdctx, code, csize); in gen_build_id() 154 EVP_DigestFinal_ex(mdctx, (unsigned char *)note->build_id, NULL); in gen_build_id() 155 EVP_MD_CTX_free(mdctx); in gen_build_id()
|