[#OSSL_PARAM_set_octet_ptr] = OSSL_PARAM_set_octet_ptr :mrdocs: Set an OSSL_PARAM that references an existing octet buffer without copying. == Synopsis Declared in `<openssl/params.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_PARAM_set_octet_ptr( xref:OSSL_PARAM.adoc[OSSL_PARAM]* p, void const* val, size_t used_len); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *p* | Parameter of type OSSL_PARAM_OCTET_PTR to update. | *val* | Address of the caller‐owned octet data. | *used_len* | Number of meaningful bytes at `val.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#