Encode a BIGNUM into an unsigned-integer OSSL_PARAM buffer.
1 on success, or 0 on error (including a negative val).
| 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. |