Lines Matching refs:rnd
118 static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom)
126 BN_zero(rnd);
199 if (!BN_bin2bn(buf,bytes,rnd)) goto err;
207 bn_check_top(rnd);
211 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom)
213 return bnrand(0, rnd, bits, top, bottom);
216 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom)
218 return bnrand(1, rnd, bits, top, bottom);
222 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom)
224 return bnrand(2, rnd, bits, top, bottom);