Home
last modified time | relevance | path

Searched refs:BN_RAND_BOTTOM_ANY (Results 1 - 20 of 20) sorted by relevance

/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_x931p.c178 if (!BN_priv_rand_ex(Xp, nbits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY, 0, in BN_X931_generate_Xpq()
188 if (!BN_priv_rand_ex(Xq, nbits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY, 0, in BN_X931_generate_Xpq()
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 Dbn_rand.c31 if (top != BN_RAND_TOP_ANY || bottom != BN_RAND_BOTTOM_ANY) in bnrand()
161 if (!bnrand(flag, r, n + 1, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY, in bnrand_range()
189 if (!bnrand(flag, r, n, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY, 0, in bnrand_range()
H A Dbn_gf2m.c751 BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY, 0, ctx)) in BN_GF2m_mod_inv()
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 Dbn_x931p.c178 if (!BN_priv_rand_ex(Xp, nbits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY, 0, in BN_X931_generate_Xpq()
188 if (!BN_priv_rand_ex(Xq, nbits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY, 0, in BN_X931_generate_Xpq()
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 Dbn_rand.c31 if (top != BN_RAND_TOP_ANY || bottom != BN_RAND_BOTTOM_ANY) in bnrand()
161 if (!bnrand(flag, r, n + 1, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY, in bnrand_range()
189 if (!bnrand(flag, r, n, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY, 0, in bnrand_range()
H A Dbn_gf2m.c746 BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY, 0, ctx)) in BN_GF2m_mod_inv()
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/openssl/test/
H A Dexptest.c65 if (!TEST_true(BN_rand(a, 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY))) in test_mod_exp_zero()
180 BN_RAND_BOTTOM_ANY))) in test_mod_exp()
187 BN_RAND_BOTTOM_ANY))) 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()
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()
H A Dec_internal_test.c42 BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) in group_field_tests()
H A Dectest.c2638 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/ec/
H A Dec2_smpl.c733 BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY, 0, ctx)) { in ec_GF2m_simple_ladder_pre()
748 BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY, 0, ctx)) { in ec_GF2m_simple_ladder_pre()
/third_party/openssl/crypto/ec/
H A Dec2_smpl.c733 BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY, 0, ctx)) { in ec_GF2m_simple_ladder_pre()
748 BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY, 0, ctx)) { in ec_GF2m_simple_ladder_pre()
/third_party/node/deps/openssl/openssl/crypto/dsa/
H A Ddsa_ossl.c142 BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY, 0, ctx)) in ossl_dsa_do_sign_int()
/third_party/node/deps/openssl/openssl/crypto/dh/
H A Ddh_key.c332 BN_RAND_BOTTOM_ANY, 0, ctx)) in generate_key()
/third_party/openssl/crypto/dsa/
H A Ddsa_ossl.c142 BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY, 0, ctx)) in ossl_dsa_do_sign_int()
/third_party/openssl/crypto/dh/
H A Ddh_key.c333 BN_RAND_BOTTOM_ANY, 0, ctx)) in generate_key()
/third_party/openssl/ohos_lite/include/openssl/
H A Dbn.h79 #define BN_RAND_BOTTOM_ANY 0 macro
/third_party/node/deps/openssl/openssl/include/openssl/
H A Dbn.h85 #define BN_RAND_BOTTOM_ANY 0 macro
/third_party/openssl/include/openssl/
H A Dbn.h85 #define BN_RAND_BOTTOM_ANY 0 macro
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dapps.c1621 if (!BN_rand(btmp, SERIAL_RAND_BITS, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY)) in rand_serial()
/third_party/openssl/apps/lib/
H A Dapps.c1619 if (!BN_rand(btmp, SERIAL_RAND_BITS, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY)) in rand_serial()

Completed in 37 milliseconds