Construct an OSSL_PARAM that references an existing octet buffer via pointer.

Synopsis

Declared in <openssl/params.h>

OSSL_PARAM
OSSL_PARAM_construct_octet_ptr(
    char const* key,
    void** buf,
    size_t bsize);

Return Value

OSSL_PARAM of type OSSL_PARAM_OCTET_PTR.

Parameters

Name

Description

key

Parameter name.

buf

Address of a void* that points at (or receives) the octet data.

bsize

Size of the buffer addressed by *`buf` when writing, or 0 when only reading.

Created with MrDocs