Searched refs:digest_value (Results 1 – 3 of 3) sorted by relevance
/openssl/demos/digest/ |
H A D | EVP_MD_demo.c | 87 unsigned char *digest_value = NULL; in demonstrate_digest() local 114 digest_value = OPENSSL_malloc(digest_length); in demonstrate_digest() 115 if (digest_value == NULL) { in demonstrate_digest() 145 if (EVP_DigestFinal(digest_context, digest_value, &digest_length) != 1) { in demonstrate_digest() 150 fprintf(stdout, "%02x", digest_value[j]); in demonstrate_digest() 157 } else if (memcmp(digest_value, known_answer, digest_length) != 0) { in demonstrate_digest() 172 OPENSSL_free(digest_value); in demonstrate_digest()
|
H A D | BIO_f_md.c | 46 char *digest_value = NULL; in main() local 76 digest_value = OPENSSL_malloc(digest_size); in main() 77 if (digest_value == NULL) { in main() 105 if (BIO_gets(bio_digest, digest_value, digest_size) != digest_size) { in main() 110 fprintf(stdout, "%02x", (unsigned char)digest_value[j]); in main() 119 OPENSSL_free(digest_value); in main()
|
H A D | EVP_MD_stdin.c | 42 unsigned char *digest_value = NULL; in demonstrate_digest() local 72 digest_value = OPENSSL_malloc(digest_length); in demonstrate_digest() 73 if (digest_value == NULL) { in demonstrate_digest() 102 if (EVP_DigestFinal(digest_context, digest_value, &digest_length) != 1) { in demonstrate_digest() 108 fprintf(stdout, "%02x", digest_value[ii]); in demonstrate_digest() 117 OPENSSL_free(digest_value); in demonstrate_digest()
|
Completed in 21 milliseconds