Decrypt a chunk of ciphertext into out, updating the cipher context.
Declared in <openssl/evp.h>
int
EVP_DecryptUpdate(
EVP_CIPHER_CTX* ctx,
unsigned char* out,
int* outl,
unsigned char const* in,
int inl);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | Cipher context initialized for decryption. |
| out | Output buffer for plaintext (may be NULL to pass AAD for AEAD ciphers). |
| outl | Receives the number of plaintext bytes written. |
| in | Ciphertext (or AAD) bytes to process. |
| inl | Number of bytes at in. |