[#OSSL_PARAM_BLD_push_BN_pad]
= OSSL&lowbar;PARAM&lowbar;BLD&lowbar;push&lowbar;BN&lowbar;pad
:mrdocs:

Append a BIGNUM parameter padded to exactly `sz` bytes (by reference until to&lowbar;param)&period;

== Synopsis

Declared in `&lt;openssl&sol;param&lowbar;build&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;PARAM&lowbar;BLD&lowbar;push&lowbar;BN&lowbar;pad(
    xref:OSSL_PARAM_BLD.adoc[OSSL&lowbar;PARAM&lowbar;BLD]* bld,
    char const* key,
    xref:BIGNUM.adoc[BIGNUM] const* bn,
    size&lowbar;t sz);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bld*
| Parameter builder&period;
| *key*
| Parameter name string&period;
| *bn*
| Non&hyphen;negative BIGNUM to store&period;
| *sz*
| Exact encoded size in bytes&semi; fails if `bn` does not fit&period;
|===


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