Return a pointer to the octet data referenced by an OSSL_PARAM_OCTET_PTR parameter.
Synopsis
Declared in <openssl/params.h>
int
OSSL_PARAM_get_octet_ptr(
OSSL_PARAM const* p,
void const** val,
size_t* used_len);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
p |
Parameter of type OSSL_PARAM_OCTET_PTR. |
val |
Receives the address of the referenced octet data (not a copy). |
used_len |
Optional; receives the number of meaningful bytes. |
Created with MrDocs