Set an OSSL_PARAM that references an existing octet buffer without copying.
Declared in <openssl/params.h>
int
OSSL_PARAM_set_octet_ptr(
OSSL_PARAM* p,
void const* val,
size_t used_len);
1 on success, or 0 on failure.
| 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. |