Convert an ASN.1 INTEGER to a BIGNUM (allocating or reusing bn).
Declared in <openssl/asn1.h>
BIGNUM*
ASN1_INTEGER_to_BN(
ASN1_INTEGER const* ai,
BIGNUM* bn);
Pointer to the BIGNUM result (possibly newly allocated), or NULL on error.
| Name | Description |
|---|---|
| ai | Source INTEGER (may be negative). |
| bn | Existing BIGNUM to reuse, or NULL to allocate. |