[#EVP_DecryptFinal] = EVP_DecryptFinal :mrdocs: Finish decryption and write any remaining plaintext (legacy wrapper). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_DecryptFinal( xref:EVP_CIPHER_CTX.adoc[EVP_CIPHER_CTX]* ctx, unsigned char* outm, int* outl); ---- == Return Value 1 on success, 0 on padding/authentication failure, or a negative value on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Decryption context previously updated with EVP_DecryptUpdate. | *outm* | Buffer receiving the final plaintext block(s). | *outl* | Receives the number of bytes written to `outm.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#