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