Lines Matching refs:strength
24 unsigned int strength, BN_CTX *ctx) in bnrand() argument
48 b = flag == NORMAL ? RAND_bytes_ex(libctx, buf, bytes, strength) in bnrand()
49 : RAND_priv_bytes_ex(libctx, buf, bytes, strength); in bnrand()
61 if (RAND_bytes_ex(libctx, &c, 1, strength) <= 0) in bnrand()
101 unsigned int strength, BN_CTX *ctx) in BN_rand_ex() argument
103 return bnrand(NORMAL, rnd, bits, top, bottom, strength, ctx); in BN_rand_ex()
118 unsigned int strength, BN_CTX *ctx) in BN_priv_rand_ex() argument
120 return bnrand(PRIVATE, rnd, bits, top, bottom, strength, ctx); in BN_priv_rand_ex()
132 unsigned int strength, BN_CTX *ctx) in bnrand_range() argument
160 strength, ctx)) in bnrand_range()
188 strength, ctx)) in bnrand_range()
203 int BN_rand_range_ex(BIGNUM *r, const BIGNUM *range, unsigned int strength, in BN_rand_range_ex() argument
206 return bnrand_range(NORMAL, r, range, strength, ctx); in BN_rand_range_ex()
216 int BN_priv_rand_range_ex(BIGNUM *r, const BIGNUM *range, unsigned int strength, in BN_priv_rand_range_ex() argument
219 return bnrand_range(PRIVATE, r, range, strength, ctx); in BN_priv_rand_range_ex()
242 unsigned int strength, BN_CTX *ctx) in ossl_bn_priv_rand_range_fixed_top() argument
267 strength, ctx)) in ossl_bn_priv_rand_range_fixed_top()