Finalize a cipher operation and write any remaining output bytes.
Declared in <openssl/evp.h>
int
EVP_CipherFinal(
EVP_CIPHER_CTX* ctx,
unsigned char* outm,
int* outl);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | Cipher context previously used with EVP_CipherUpdate(). |
| outm | Buffer receiving final output bytes. |
| outl | Receives the number of bytes written to outm. |