/third_party/openssl/test/ |
H A D | exptest.c | 65 if (!TEST_true(BN_rand(a, 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY))) in test_mod_exp_zero() 179 if (!TEST_true(BN_rand(a, NUM_BITS + c, BN_RAND_TOP_ONE, in test_mod_exp() 186 if (!TEST_true(BN_rand(b, NUM_BITS + c, BN_RAND_TOP_ONE, in test_mod_exp() 193 if (!TEST_true(BN_rand(m, NUM_BITS + c, BN_RAND_TOP_ONE, in test_mod_exp() 276 BN_rand(a1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2() 277 BN_rand(b1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2() 278 BN_rand(m1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD); in test_mod_exp_x2() 279 BN_rand(a2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2() 280 BN_rand(b2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2() 281 BN_rand(m2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_OD in test_mod_exp_x2() [all...] |
H A D | ec_internal_test.c | 42 BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) in group_field_tests()
|
H A D | ectest.c | 2638 BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) in custom_generator_test() 2795 BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) in custom_params_test()
|
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_x931p.c | 234 if (!BN_priv_rand_ex(Xp1, 101, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY, 0, ctx)) in BN_X931_generate_prime_ex() 236 if (!BN_priv_rand_ex(Xp2, 101, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY, 0, ctx)) in BN_X931_generate_prime_ex()
|
H A D | bn_rsa_fips186_4.c | 184 if (!BN_priv_rand_ex(Xp1i, bitlen, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD, in ossl_bn_rsa_fips186_4_gen_prob_primes() 191 if (!BN_priv_rand_ex(Xp2i, bitlen, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD, in ossl_bn_rsa_fips186_4_gen_prob_primes()
|
H A D | bn_prime.c | 554 if (!BN_rand_ex(rnd, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD, 0, ctx)) in probable_prime_dh()
|
H A D | bn_gf2m.c | 1059 if (!BN_priv_rand_ex(rho, p[0], BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY, in BN_GF2m_mod_solve_quad_arr()
|
/third_party/openssl/crypto/bn/ |
H A D | bn_x931p.c | 234 if (!BN_priv_rand_ex(Xp1, 101, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY, 0, ctx)) in BN_X931_generate_prime_ex() 236 if (!BN_priv_rand_ex(Xp2, 101, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY, 0, ctx)) in BN_X931_generate_prime_ex()
|
H A D | bn_rsa_fips186_4.c | 184 if (!BN_priv_rand_ex(Xp1i, bitlen, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD, in ossl_bn_rsa_fips186_4_gen_prob_primes() 191 if (!BN_priv_rand_ex(Xp2i, bitlen, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD, in ossl_bn_rsa_fips186_4_gen_prob_primes()
|
H A D | bn_prime.c | 554 if (!BN_rand_ex(rnd, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD, 0, ctx)) in probable_prime_dh()
|
H A D | bn_gf2m.c | 1054 if (!BN_priv_rand_ex(rho, p[0], BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY, in BN_GF2m_mod_solve_quad_arr()
|
/third_party/node/deps/openssl/openssl/crypto/dh/ |
H A D | dh_key.c | 331 if (!BN_priv_rand_ex(priv_key, l, BN_RAND_TOP_ONE, in generate_key()
|
/third_party/openssl/crypto/dh/ |
H A D | dh_key.c | 332 if (!BN_priv_rand_ex(priv_key, l, BN_RAND_TOP_ONE, in generate_key()
|
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | bn.h | 75 #define BN_RAND_TOP_ONE 0 macro
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | bn.h | 81 #define BN_RAND_TOP_ONE 0 macro
|
/third_party/openssl/include/openssl/ |
H A D | bn.h | 81 #define BN_RAND_TOP_ONE 0 macro
|