[#OSSL_PARAM_construct_octet_ptr]
= OSSL&lowbar;PARAM&lowbar;construct&lowbar;octet&lowbar;ptr
:mrdocs:

Construct an OSSL&lowbar;PARAM that references an existing octet buffer via pointer&period;

== Synopsis

Declared in `&lt;openssl&sol;params&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OSSL_PARAM.adoc[OSSL&lowbar;PARAM]
OSSL&lowbar;PARAM&lowbar;construct&lowbar;octet&lowbar;ptr(
    char const* key,
    void** buf,
    size&lowbar;t bsize);
----

== Return Value

OSSL&lowbar;PARAM of type OSSL&lowbar;PARAM&lowbar;OCTET&lowbar;PTR&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| Parameter name&period;
| *buf*
| Address of a void&ast; that points at (or receives) the octet data&period;
| *bsize*
| Size of the buffer addressed by &ast;`buf` when writing, or 0 when only reading&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
