Symbol: BN_rand
lib/libcrypto/bn/bn.h
286
int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
lib/libcrypto/bn/bn_prime.c
282
if (!BN_rand(rnd, bits, 1, 1))
lib/libcrypto/bn/bn_prime.c
320
if (!BN_rand(rnd, bits, 0, 1))
lib/libcrypto/bn/bn_prime.c
377
if (!BN_rand(q, bits, 0, 1))
lib/libcrypto/bn/bn_rand.c
205
LCRYPTO_ALIAS(BN_rand);
lib/libcrypto/bn/bn_rand.c
227
int (*bn_rand)(BIGNUM *, int, int, int) = pseudo ? BN_pseudo_rand : BN_rand;
lib/libcrypto/dh/dh_key.c
110
if (!BN_rand(priv_key, l, 0, 0))
lib/libcrypto/hidden/openssl/bn.h
50
LCRYPTO_USED(BN_rand);
regress/lib/libcrypto/bn/bn_mod_exp.c
126
if (!BN_rand(a, 1024, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY))
regress/lib/libcrypto/bn/bn_mod_exp.c
237
return BN_rand(bn, bits, 0, force_odd);
regress/lib/libcrypto/bn/bn_mul_div.c
34
if (!BN_rand(a, a_bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY))
regress/lib/libcrypto/bn/bn_mul_div.c
36
if (!BN_rand(b, b_bits - 1, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY))
regress/lib/libcrypto/bn/bn_mul_div.c
57
if (!BN_rand(a, a_bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY))
regress/lib/libcrypto/bn/bn_mul_div.c
59
if (!BN_rand(b, b_bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY))
regress/lib/libcrypto/bn/bn_mul_div.c
78
if (!BN_rand(a, a_bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY))
regress/lib/libcrypto/bn/bn_test.c
1877
if (!BN_rand(x, size, -1, 0) ||
regress/lib/libcrypto/bn/bn_test.c
1878
!BN_rand(y, size, -1, 0) ||
usr.bin/openssl/ts.c
744
if (!BN_rand(bn, bits, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY))
usr.bin/ssh/moduli.c
281
if (BN_rand(largebase, power, 1, 1) == 0)