[#EVP_DigestFinal] = EVP_DigestFinal :mrdocs: Finalize a digest computation and write the message digest. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_DigestFinal( xref:EVP_MD_CTX.adoc[EVP_MD_CTX]* ctx, unsigned char* md, unsigned int* s); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Digest context that has been updated with message data. | *md* | Output buffer of at least EVP_MD_size bytes receiving the digest. | *s* | Optional pointer receiving the digest length in bytes, or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#