H A D | bn_rand.c | 24 unsigned int strength, BN_CTX *ctx) in bnrand() argument 50 b = flag == NORMAL ? RAND_bytes_ex(libctx, buf, bytes, strength) in bnrand() 51 : RAND_priv_bytes_ex(libctx, buf, bytes, strength); in bnrand() 63 if (RAND_bytes_ex(libctx, &c, 1, strength) <= 0) in bnrand() 103 unsigned int strength, BN_CTX *ctx) in BN_rand_ex() argument 105 return bnrand(NORMAL, rnd, bits, top, bottom, strength, ctx); in BN_rand_ex() 120 unsigned int strength, BN_CTX *ctx) in BN_priv_rand_ex() argument 122 return bnrand(PRIVATE, rnd, bits, top, bottom, strength, ctx); in BN_priv_rand_ex() 134 unsigned int strength, BN_CTX *ctx) in bnrand_range() argument 162 strength, ct in bnrand_range() 205 BN_rand_range_ex(BIGNUM * r,const BIGNUM * range,unsigned int strength,BN_CTX * ctx) BN_rand_range_ex() argument 218 BN_priv_rand_range_ex(BIGNUM * r,const BIGNUM * range,unsigned int strength,BN_CTX * ctx) BN_priv_rand_range_ex() argument [all...] |