Lines Matching refs:rnd
23 static int bnrand(BNRAND_FLAG flag, BIGNUM *rnd, int bits, int top, int bottom, in bnrand() argument
33 BN_zero(rnd); in bnrand()
87 if (!BN_bin2bn(buf, bytes, rnd)) in bnrand()
92 bn_check_top(rnd); in bnrand()
100 int BN_rand_ex(BIGNUM *rnd, int bits, int top, int bottom, in BN_rand_ex() argument
103 return bnrand(NORMAL, rnd, bits, top, bottom, strength, ctx); in BN_rand_ex()
106 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_rand() argument
108 return bnrand(NORMAL, rnd, bits, top, bottom, 0, NULL); in BN_rand()
111 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_bntest_rand() argument
113 return bnrand(TESTING, rnd, bits, top, bottom, 0, NULL); in BN_bntest_rand()
117 int BN_priv_rand_ex(BIGNUM *rnd, int bits, int top, int bottom, in BN_priv_rand_ex() argument
120 return bnrand(PRIVATE, rnd, bits, top, bottom, strength, ctx); in BN_priv_rand_ex()
124 int BN_priv_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_priv_rand() argument
126 return bnrand(PRIVATE, rnd, bits, top, bottom, 0, NULL); in BN_priv_rand()
229 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_pseudo_rand() argument
231 return BN_rand(rnd, bits, top, bottom); in BN_pseudo_rand()