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