Append a BIGNUM parameter padded to exactly sz bytes (by reference until to_param).
Declared in <openssl/param_build.h>
int
OSSL_PARAM_BLD_push_BN_pad(
OSSL_PARAM_BLD* bld,
char const* key,
BIGNUM const* bn,
size_t sz);
1 on success, or 0 on error.
| Name | Description |
|---|---|
| bld | Parameter builder. |
| key | Parameter name string. |
| bn | Non-negative BIGNUM to store. |
| sz | Exact encoded size in bytes; fails if bn does not fit. |