Finish decryption and write any remaining plaintext (legacy wrapper).
Declared in <openssl/evp.h>
int
EVP_DecryptFinal(
EVP_CIPHER_CTX* ctx,
unsigned char* outm,
int* outl);
1 on success, 0 on padding/authentication failure, or a negative value on error.
| 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. |