Home
last modified time | relevance | path

Searched refs:BN_RAND_TOP_ONE (Results 1 – 9 of 9) sorted by relevance

/third_party/openssl/test/
Dexptest.c64 if (!TEST_true(BN_rand(a, 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY))) in test_mod_exp_zero()
149 BN_rand(a, NUM_BITS + c, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp()
153 BN_rand(b, NUM_BITS + c, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp()
157 BN_rand(m, NUM_BITS + c, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD); in test_mod_exp()
Dec_internal_test.c37 BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) in group_field_tests()
Dectest.c2181 BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) in custom_generator_test()
/third_party/openssl/crypto/bn/
Dbn_x931p.c230 if (!BN_priv_rand(Xp1, 101, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) in BN_X931_generate_prime_ex()
232 if (!BN_priv_rand(Xp2, 101, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) in BN_X931_generate_prime_ex()
Dbn_prime.c337 if (!BN_rand(rnd, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD)) in probable_prime_dh()
Dbn_gf2m.c1034 if (!BN_priv_rand(rho, p[0], BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) in BN_GF2m_mod_solve_quad_arr()
/third_party/openssl/crypto/dh/
Ddh_key.c153 if (!BN_priv_rand(priv_key, l, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) in generate_key()
/third_party/openssl/doc/man3/
DBN_rand.pod35 If it is B<BN_RAND_TOP_ONE>, the top bit must be one.
/third_party/openssl/include/openssl/
Dbn.h75 #define BN_RAND_TOP_ONE 0 macro