Lines Matching refs:bottom
118 static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom)
125 if (top != -1 || bottom != 0)
143 /* make a random number and set the top and bottom bits */
185 if (bottom) /* set bottom bit if requested */
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);