Convert len big-endian unsigned bytes at s into a BIGNUM.
Declared in <openssl/bn.h>
BIGNUM*
BN_bin2bn(
unsigned char const* s,
int len,
BIGNUM* ret);
Result BIGNUM (possibly newly allocated), or NULL on error.
| Name | Description |
|---|---|
| s | Input byte string (most significant byte first). |
| len | Number of bytes at s. |
| ret | Existing BIGNUM to reuse, or NULL to allocate. |