[#EVP_DecodeUpdate]
= EVP&lowbar;DecodeUpdate
:mrdocs:

Decode a chunk of Base64 input into `out,` updating the decode context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;DecodeUpdate(
    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 if more data may follow, 0 if an EOF marker was seen, or &hyphen;1 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Decode context previously initialized with EVP&lowbar;DecodeInit()&period;
| *out*
| Buffer receiving decoded octets for this chunk&period;
| *outl*
| Receives the number of bytes written to `out&period;`
| *in*
| Base64 input characters for this update&period;
| *inl*
| Number of bytes in `in&period;`
|===


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