[#OSSL_PARAM_get_BN]
= OSSL&lowbar;PARAM&lowbar;get&lowbar;BN
:mrdocs:

Decode an unsigned integer OSSL&lowbar;PARAM into a newly allocated BIGNUM&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;PARAM&lowbar;get&lowbar;BN(
    xref:OSSL_PARAM.adoc[OSSL&lowbar;PARAM] const* p,
    xref:BIGNUM.adoc[BIGNUM]** val);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p*
| Parameter holding an unsigned big&hyphen;endian integer&period;
| *val*
| In&sol;out BIGNUM pointer&semi; allocates when &ast;`val` is NULL, else reuses it&period;
|===


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