Home
last modified time | relevance | path

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

/openssl/demos/digest/
H A DEVP_MD_demo.c84 EVP_MD *message_digest = NULL; in demonstrate_digest() local
101 message_digest = EVP_MD_fetch(library_context, in demonstrate_digest()
103 if (message_digest == NULL) { in demonstrate_digest()
108 digest_length = EVP_MD_get_size(message_digest); in demonstrate_digest()
132 if (EVP_DigestInit(digest_context, message_digest) != 1) { in demonstrate_digest()
173 EVP_MD_free(message_digest); in demonstrate_digest()
H A DEVP_MD_stdin.c39 EVP_MD *message_digest = NULL; in demonstrate_digest() local
57 message_digest = EVP_MD_fetch(library_context, in demonstrate_digest()
59 if (message_digest == NULL) { in demonstrate_digest()
66 digest_length = EVP_MD_get_size(message_digest); in demonstrate_digest()
91 if (EVP_DigestInit(digest_context, message_digest) != 1) { in demonstrate_digest()
118 EVP_MD_free(message_digest); in demonstrate_digest()
/openssl/crypto/pkcs7/
H A Dpk7_doit.c1125 ASN1_OCTET_STRING *message_digest; in PKCS7_signatureVerify() local
1129 message_digest = PKCS7_digest_from_attributes(sk); in PKCS7_signatureVerify()
1130 if (!message_digest) { in PKCS7_signatureVerify()
1134 if ((message_digest->length != (int)md_len) || in PKCS7_signatureVerify()
1135 (memcmp(message_digest->data, md_dat, md_len))) { in PKCS7_signatureVerify()

Completed in 37 milliseconds