Searched refs:digest_context (Results 1 – 3 of 3) sorted by relevance
/openssl/demos/digest/ |
H A D | EVP_MD_demo.c | 85 EVP_MD_CTX *digest_context = NULL; in demonstrate_digest() local 123 digest_context = EVP_MD_CTX_new(); in demonstrate_digest() 124 if (digest_context == NULL) { in demonstrate_digest() 132 if (EVP_DigestInit(digest_context, message_digest) != 1) { in demonstrate_digest() 137 if (EVP_DigestUpdate(digest_context, hamlet_1, strlen(hamlet_1)) != 1) { in demonstrate_digest() 141 if (EVP_DigestUpdate(digest_context, hamlet_2, strlen(hamlet_2)) != 1) { in demonstrate_digest() 145 if (EVP_DigestFinal(digest_context, digest_value, &digest_length) != 1) { in demonstrate_digest() 171 EVP_MD_CTX_free(digest_context); in demonstrate_digest()
|
H A D | EVP_MD_stdin.c | 40 EVP_MD_CTX *digest_context = NULL; in demonstrate_digest() local 81 digest_context = EVP_MD_CTX_new(); in demonstrate_digest() 82 if (digest_context == NULL) { in demonstrate_digest() 91 if (EVP_DigestInit(digest_context, message_digest) != 1) { in demonstrate_digest() 97 if (EVP_DigestUpdate(digest_context, buffer, ii) != 1) { in demonstrate_digest() 102 if (EVP_DigestFinal(digest_context, digest_value, &digest_length) != 1) { in demonstrate_digest() 116 EVP_MD_CTX_free(digest_context); in demonstrate_digest()
|
/openssl/demos/mac/ |
H A D | hmac-sha512.c | 82 EVP_MD_CTX *digest_context = NULL; in main() local 161 EVP_MD_CTX_free(digest_context); in main()
|
Completed in 5 milliseconds