Lines Matching defs:rnd
118 static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom)
130 BN_zero(rnd);
188 if (!BN_bin2bn(buf, bytes, rnd))
196 bn_check_top(rnd);
200 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom)
202 return bnrand(0, rnd, bits, top, bottom);
205 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom)
207 return bnrand(1, rnd, bits, top, bottom);
211 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom)
213 return bnrand(2, rnd, bits, top, bottom);