Home
last modified time | relevance | path

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

/openssl/test/
H A Dexptest.c64 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()
248 BN_rand(a1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2()
249 BN_rand(b1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2()
250 BN_rand(m1, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD); in test_mod_exp_x2()
251 BN_rand(a2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2()
252 BN_rand(b2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY); in test_mod_exp_x2()
253 BN_rand(m2, factor_size, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD); 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()
/openssl/crypto/bn/
H A Dbn_x931p.c234 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_rsa_fips186_4.c184 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 Dbn_prime.c553 if (!BN_rand_ex(rnd, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD, 0, ctx)) in probable_prime_dh()
H A Dbn_gf2m.c1053 if (!BN_priv_rand_ex(rho, p[0], BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY, in BN_GF2m_mod_solve_quad_arr()
/openssl/doc/man3/
H A DBN_rand.pod50 If it is B<BN_RAND_TOP_ONE>, the top bit must be one.
/openssl/crypto/dh/
H A Ddh_key.c320 if (!BN_priv_rand_ex(priv_key, l, BN_RAND_TOP_ONE, in generate_key()
/openssl/include/openssl/
H A Dbn.h81 #define BN_RAND_TOP_ONE 0 macro

Completed in 54 milliseconds