| A D | bn_rand.c | 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 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() 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() [all …]
|