Lines Matching refs:rnd
118 static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom)
127 BN_zero(rnd);
187 if (!BN_bin2bn(buf, bytes, rnd))
195 bn_check_top(rnd);
203 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom)
205 return bnrand(0, rnd, bits, top, bottom);
208 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom)
210 return bnrand(1, rnd, bits, top, bottom);
214 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom)
216 return bnrand(2, rnd, bits, top, bottom);