OSSL_ENCODER_CTX_set_construct_data

Associate opaque construct data passed to the encoder construct callback.

Synopsis

Declared in <openssl/encoder.h>

int
OSSL_ENCODER_CTX_set_construct_data(
    OSSL_ENCODER_CTX* ctx,
    void* construct_data);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxEncoder context to configure.
construct_dataCaller-owned pointer delivered to OSSL_ENCODER_CONSTRUCT / CLEANUP.