[#EVP_EncryptUpdate] = EVP_EncryptUpdate :mrdocs: Encrypt `inl` bytes from `in` and write ciphertext to `out.` == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_EncryptUpdate( xref:EVP_CIPHER_CTX.adoc[EVP_CIPHER_CTX]* ctx, unsigned char* out, int* outl, unsigned char const* in, int inl); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Cipher context previously set up for encryption. | *out* | Output buffer for encrypted bytes (may equal `in` for in‐place encryption when block‐aligned). | *outl* | Receives the number of bytes written to `out.` | *in* | Plaintext input bytes. | *inl* | Number of bytes at `in.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#