[#OSSL_PARAM_set_BN] = OSSL_PARAM_set_BN :mrdocs: Encode a BIGNUM into an unsigned‐integer OSSL_PARAM buffer. == Synopsis Declared in `<openssl/params.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_PARAM_set_BN( xref:OSSL_PARAM.adoc[OSSL_PARAM]* p, xref:BIGNUM.adoc[BIGNUM] const* val); ---- == Return Value 1 on success, or 0 on error (including a negative `val).` == Parameters [cols="1,4"] |=== | Name| Description | *p* | Parameter whose buffer receives the unsigned big‐endian form of `val.` | *val* | Non‐negative BIGNUM to store; must fit in `'s` declared buffer size. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#