Convert a big-endian two's-complement byte array to a signed BIGNUM.
Declared in <openssl/bn.h>
BIGNUM*
BN_signed_bin2bn(
unsigned char const* s,
int len,
BIGNUM* ret);
Result BIGNUM, or NULL on error.
| Name | Description |
|---|---|
| s | Input octets in big-endian two's-complement form. |
| len | Number of bytes at s. |
| ret | Destination BIGNUM to reuse, or NULL to allocate a new one. |