Home
last modified time | relevance | path

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

/external/cronet/third_party/boringssl/src/crypto/fipsmodule/bn/
Dprime.c960 if (!BN_rand(rnd, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD)) { in probable_prime_dh()
1020 if (!BN_rand(q, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD)) { in probable_prime_dh_safe()
Drandom.c129 if (top != BN_RAND_TOP_ANY && top != BN_RAND_TOP_ONE && in BN_rand()
Dbn_test.cc1099 BN_rand(n.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1155 BN_rand(x.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1331 static const int kTop[] = {BN_RAND_TOP_ANY, BN_RAND_TOP_ONE, BN_RAND_TOP_TWO}; in TEST_F()
1648 ASSERT_TRUE(BN_rand(a.get(), 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Dprime.c947 if (!BN_rand(rnd, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD)) { in probable_prime_dh()
1007 if (!BN_rand(q, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD)) { in probable_prime_dh_safe()
Drandom.c128 if (top != BN_RAND_TOP_ANY && top != BN_RAND_TOP_ONE && in BN_rand()
Dbn_test.cc1052 BN_rand(n.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1108 BN_rand(x.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1284 static const int kTop[] = {BN_RAND_TOP_ANY, BN_RAND_TOP_ONE, BN_RAND_TOP_TWO}; in TEST_F()
1601 ASSERT_TRUE(BN_rand(a.get(), 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
/external/boringssl/src/crypto/fipsmodule/bn/
Dprime.c960 if (!BN_rand(rnd, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD)) { in probable_prime_dh()
1020 if (!BN_rand(q, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD)) { in probable_prime_dh_safe()
Drandom.c129 if (top != BN_RAND_TOP_ANY && top != BN_RAND_TOP_ONE && in BN_rand()
Dbn_test.cc1099 BN_rand(n.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1155 BN_rand(x.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1331 static const int kTop[] = {BN_RAND_TOP_ANY, BN_RAND_TOP_ONE, BN_RAND_TOP_TWO}; in TEST_F()
1648 ASSERT_TRUE(BN_rand(a.get(), 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/dh/
Ddh.c247 if (!BN_rand(priv_key, priv_bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) { in DH_generate_key()
/external/boringssl/src/crypto/fipsmodule/dh/
Ddh.c247 if (!BN_rand(priv_key, priv_bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) { in DH_generate_key()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/dh/
Ddh.c245 if (!BN_rand(priv_key, priv_bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) { in DH_generate_key()
/external/boringssl/src/include/openssl/
Dbn.h624 #define BN_RAND_TOP_ONE 0 macro
/external/cronet/third_party/boringssl/src/include/openssl/
Dbn.h624 #define BN_RAND_TOP_ONE 0 macro
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dbn.h598 #define BN_RAND_TOP_ONE 0 macro
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c937 if (!BN_rand(out, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD) || in generate_prime()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c937 if (!BN_rand(out, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD) || in generate_prime()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c1069 if (!BN_rand(out, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD) || in generate_prime()