Home
last modified time | relevance | path

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

/openssl/demos/digest/
H A DBIO_f_md.c45 int digest_size; in main() local
70 digest_size = EVP_MD_get_size(md); in main()
71 if (digest_size <= 0) { in main()
76 digest_value = OPENSSL_malloc(digest_size); in main()
78 … fprintf(stderr, "Can't allocate %lu bytes for the digest value.\n", (unsigned long)digest_size); in main()
105 if (BIO_gets(bio_digest, digest_value, digest_size) != digest_size) { in main()
109 for (j = 0; j < digest_size; j++) { in main()
/openssl/test/
H A Devp_test.c654 size_t digest_size; member
716 mdata->digest_size = sz; in digest_test_parse()
772 if (expected->digest_size > 0) { in digest_test_run()
774 &expected->digest_size); in digest_test_run()

Completed in 19 milliseconds