[#EVP_OpenFinal] = EVP_OpenFinal :mrdocs: Finalize an open (envelope decrypt) operation and write any remaining plaintext. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_OpenFinal( xref:EVP_CIPHER_CTX.adoc[EVP_CIPHER_CTX]* ctx, unsigned char* out, int* outl); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Cipher context initialized with EVP_OpenInit(). | *out* | Buffer receiving final plaintext bytes. | *outl* | Receives the number of bytes written to `out.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#