Home
last modified time | relevance | path

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

/arm-trusted-firmware-2.8.0/tools/cert_create/src/
A Dsha.c36 EVP_MD_CTX *mdctx; in sha_file() local
58 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