[#EVP_EncodeUpdate]
= EVP&lowbar;EncodeUpdate
:mrdocs:

Base64&hyphen;encode a chunk of input, writing complete output lines to `out&period;`

== Synopsis

Declared in `&lt;openssl&sol;evp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;EncodeUpdate(
    xref:EVP_ENCODE_CTX.adoc[EVP&lowbar;ENCODE&lowbar;CTX]* ctx,
    unsigned char* out,
    int* outl,
    unsigned char const* in,
    int inl);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Encode context initialized with EVP&lowbar;EncodeInit()&period;
| *out*
| Buffer receiving encoded output (may be empty if data was only buffered)&period;
| *outl*
| Receives the number of bytes written to `out&period;`
| *in*
| Input octets to encode&period;
| *inl*
| Number of bytes at `in&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
