Base64‐encode a chunk of input, writing complete output lines to out.

Synopsis

Declared in <openssl/evp.h>

int
EVP_EncodeUpdate(
    EVP_ENCODE_CTX* ctx,
    unsigned char* out,
    int* outl,
    unsigned char const* in,
    int inl);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

ctx

Encode context initialized with EVP_EncodeInit().

out

Buffer receiving encoded output (may be empty if data was only buffered).

outl

Receives the number of bytes written to out.

in

Input octets to encode.

inl

Number of bytes at in.

Created with MrDocs