Finalize a seal (envelope encrypt) operation and write any remaining ciphertext.
Declared in <openssl/evp.h>
int
EVP_SealFinal(
EVP_CIPHER_CTX* ctx,
unsigned char* out,
int* outl);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | Cipher context initialized with EVP_SealInit(). |
| out | Buffer receiving final ciphertext bytes. |
| outl | Receives the number of bytes written to out. |