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

Name

Description

ctx

Decode context previously initialized with EVP_DecodeInit().

out

Buffer receiving decoded octets for this chunk.

outl

Receives the number of bytes written to out.

in

Base64 input characters for this update.

inl

Number of bytes in in.

Created with MrDocs