BN_pseudo_rand_range
if (!BN_pseudo_rand_range(check, A1))
int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range);