Decode a native-endian unsigned byte string into a BIGNUM.
Declared in <openssl/bn.h>
BIGNUM*
BN_native2bn(
unsigned char const* s,
int len,
BIGNUM* ret);
Result BIGNUM (same as ret when non-NULL), or NULL on error.
| Name | Description |
|---|---|
| s | Input bytes in host endianness. |
| len | Number of bytes at s. |
| ret | Optional existing BIGNUM to reuse, or NULL to allocate. |