ASN1_INTEGER_to_BN
bn = ASN1_INTEGER_to_BN(intval, NULL);
bn = ASN1_INTEGER_to_BN(X509_get0_serialNumber(x509), NULL);
ret = ASN1_INTEGER_to_BN(ai, NULL);
bn = ASN1_INTEGER_to_BN(ser, NULL);
if ((bn = ASN1_INTEGER_to_BN(serial, NULL)) == NULL)
BIGNUM *bnser = ASN1_INTEGER_to_BN(X509_get0_serialNumber(x), NULL);
if ((bnpub = ASN1_INTEGER_to_BN(public_key, NULL)) == NULL)
if ((dh->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)) == NULL) {
|| !ASN1_INTEGER_to_BN(privkey, privkey_bn)) {
if ((dsa->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)) == NULL) {
|| !ASN1_INTEGER_to_BN(privkey, dsa_privkey)) {
p = ASN1_INTEGER_to_BN(params->fieldID->p.prime, NULL);
if (ASN1_INTEGER_to_BN(params->order, a) == NULL) {
} else if (ASN1_INTEGER_to_BN(params->cofactor, b) == NULL) {
&& (number = ASN1_INTEGER_to_BN(search->serial, NULL)) != NULL
num_bn = ASN1_INTEGER_to_BN(num, NULL);
if ((bn == NULL && (bn = BN_new()) == NULL) || ASN1_INTEGER_to_BN(a_max, bn) == NULL || !BN_add_word(bn, 1)) {
if ((bn == NULL && (bn = BN_new()) == NULL) || ASN1_INTEGER_to_BN(a_max, bn) == NULL || !BN_add_word(bn, 1)) {
bn = ASN1_INTEGER_to_BN(sub->minimum, NULL);
if ((bntmp = ASN1_INTEGER_to_BN(a, NULL)) == NULL)
BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn);