EVP_DecodeUpdate

Decode a chunk of Base64 input into out, updating the decode context.

Synopsis

Declared in <openssl/evp.h>

int
EVP_DecodeUpdate(
    EVP_ENCODE_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 -1 on error.

Parameters

NameDescription
ctxDecode context previously initialized with EVP_DecodeInit().
outBuffer receiving decoded octets for this chunk.
outlReceives the number of bytes written to out.
inBase64 input characters for this update.
inlNumber of bytes in in.