Lines Matching defs:rnd
118 static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom)
130 BN_zero(rnd);
192 if (!BN_bin2bn(buf, bytes, rnd))
200 bn_check_top(rnd);
204 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom)
206 return bnrand(0, rnd, bits, top, bottom);
209 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom)
211 return bnrand(1, rnd, bits, top, bottom);
215 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom)
217 return bnrand(2, rnd, bits, top, bottom);