Return a pointer to the octet-string contents of an OSSL_PARAM without copying.
Declared in <openssl/params.h>
int
OSSL_PARAM_get_octet_string_ptr(
OSSL_PARAM const* p,
void const** val,
size_t* used_len);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| p | Parameter of type OSSL_PARAM_OCTET_STRING. |
| val | Receives a pointer to the internal octets (do not free). |
| used_len | Optional; receives the number of bytes at *val. |