/openssl-master/test/ |
A D | exptest.c | 64 if (!TEST_true(BN_rand(a, 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY))) in test_mod_exp_zero() 150 if (!TEST_true(BN_rand(a, NUM_BITS + c, BN_RAND_TOP_ONE, in test_mod_exp() 157 if (!TEST_true(BN_rand(b, NUM_BITS + c, BN_RAND_TOP_ONE, in test_mod_exp() 164 if (!TEST_true(BN_rand(m, NUM_BITS + c, BN_RAND_TOP_ONE, in test_mod_exp() 247 BN_rand(a1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2() 248 BN_rand(b1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2() 249 BN_rand(m1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD); in test_mod_exp_x2() 250 BN_rand(a2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2() 251 BN_rand(b2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2() 252 BN_rand(m2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD); in test_mod_exp_x2()
|
A D | bntest.c | 690 if (!(TEST_true(BN_rand(a, 512, 0, 0)) in test_gf2m_add() 1758 if (!TEST_true(BN_rand(n, bytes * 8, TOP_BIT_ON, BOTTOM_BIT_NOTOUCH))) in test_bn2padded() 2038 if (!TEST_false(BN_rand(bn, 0, 0 /* top */ , 0 /* bottom */ )) in test_rand() 2039 || !TEST_false(BN_rand(bn, 0, 1 /* top */ , 1 /* bottom */ )) in test_rand() 2040 || !TEST_true(BN_rand(bn, 1, 0 /* top */ , 0 /* bottom */ )) in test_rand() 2042 || !TEST_false(BN_rand(bn, 1, 1 /* top */ , 0 /* bottom */ )) in test_rand() 2043 || !TEST_true(BN_rand(bn, 1, -1 /* top */ , 1 /* bottom */ )) in test_rand() 2045 || !TEST_true(BN_rand(bn, 2, 1 /* top */ , 0 /* bottom */ )) in test_rand()
|
A D | ec_internal_test.c | 41 || !TEST_true(BN_rand(a, BN_num_bits(group->field) - 1, in group_field_tests()
|
A D | ectest.c | 562 || !TEST_true(BN_rand(y, BN_num_bits(y), 0, 0)) in prime_field_tests() 571 || !TEST_true(BN_rand(x, BN_num_bits(y) - 1, 0, 0)) in prime_field_tests() 891 if (!TEST_true(BN_rand(y, BN_num_bits(y), 0, 0)) in char2_curve_test() 902 if (!TEST_true(BN_rand(x, BN_num_bits(y) - 1, 0, 0)) in char2_curve_test() 2637 || !TEST_true(BN_rand(k, EC_GROUP_order_bits(group) - 1, in custom_generator_test() 2794 || !TEST_true(BN_rand(k, EC_GROUP_order_bits(group) - 1, in custom_params_test()
|
/openssl-master/doc/man3/ |
A D | BN_rand.pod | 5 BN_rand_ex, BN_rand, BN_priv_rand_ex, BN_priv_rand, BN_pseudo_rand, 16 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom); 58 BN_rand() is the same as BN_rand_ex() except that the default library context 71 BN_priv_rand_range() have the same semantics as BN_rand_ex(), BN_rand(), 103 to BN_rand() and BN_pseudo_rand_range() has been identical to
|
/openssl-master/crypto/bn/ |
A D | bn_rand.c | 108 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_rand() function 228 return BN_rand(rnd, bits, top, bottom); in BN_pseudo_rand()
|
/openssl-master/include/openssl/ |
A D | bn.h | 219 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
|
/openssl-master/doc/ |
A D | build.info | 746 DEPEND[html/man3/BN_rand.html]=man3/BN_rand.pod 747 GENERATE[html/man3/BN_rand.html]=man3/BN_rand.pod 748 DEPEND[man/man3/BN_rand.3]=man3/BN_rand.pod 749 GENERATE[man/man3/BN_rand.3]=man3/BN_rand.pod 2908 html/man3/BN_rand.html \ 3500 man/man3/BN_rand.3 \
|
/openssl-master/apps/lib/ |
A D | apps.c | 1597 if (!BN_rand(btmp, SERIAL_RAND_BITS, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY)) in rand_serial()
|
/openssl-master/doc/man7/ |
A D | migration_guide.pod | 1189 Use L<BN_rand(3)> and L<BN_rand_range(3)>.
|
/openssl-master/util/ |
A D | libcrypto.num | 2956 BN_rand 3023 3_0_0 EXIST::FUNCTION:
|
/openssl-master/ |
A D | CHANGES.md | 14295 equivalent based on BN_pseudo_rand() instead of BN_rand(). 14366 BN_rand(priv_key, l, ...) 15806 * In bntest.c don't call BN_rand with zero bits argument.
|