Finish encryption and write any remaining padded ciphertext bytes.
Declared in <openssl/evp.h>
int
EVP_EncryptFinal(
EVP_CIPHER_CTX* ctx,
unsigned char* out,
int* outl);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | Cipher context previously used with EVP_EncryptUpdate(). |
| out | Buffer receiving the final ciphertext block(s). |
| outl | Receives the number of bytes written to out. |