Lines Matching refs:bn
119 int BN_hex2bn(BIGNUM **bn, const char *a) in BN_hex2bn() argument
141 if (bn == NULL) in BN_hex2bn()
145 if (*bn == NULL) { in BN_hex2bn()
149 ret = *bn; in BN_hex2bn()
184 *bn = ret; in BN_hex2bn()
191 if (*bn == NULL) in BN_hex2bn()
196 int BN_dec2bn(BIGNUM **bn, const char *a) in BN_dec2bn() argument
217 if (bn == NULL) in BN_dec2bn()
224 if (*bn == NULL) { in BN_dec2bn()
228 ret = *bn; in BN_dec2bn()
254 *bn = ret; in BN_dec2bn()
261 if (*bn == NULL) in BN_dec2bn()
266 int BN_asc2bn(BIGNUM **bn, const char *a) in BN_asc2bn() argument
274 if (!BN_hex2bn(bn, p + 2)) in BN_asc2bn()
277 if (!BN_dec2bn(bn, p)) in BN_asc2bn()
281 if (*a == '-' && (*bn)->top != 0) in BN_asc2bn()
282 (*bn)->neg = 1; in BN_asc2bn()