Home
last modified time | relevance | path

Searched refs:BN_RAND_BOTTOM_ANY (Results 1 – 8 of 8) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Drandom.c134 if (bottom != BN_RAND_BOTTOM_ANY && bottom != BN_RAND_BOTTOM_ODD) { in BN_rand()
Dbn_test.cc1031 BN_rand(n.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1087 BN_rand(x.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1264 static const int kBottom[] = {BN_RAND_BOTTOM_ANY, BN_RAND_BOTTOM_ODD}; in TEST_F()
1311 EXPECT_EQ(bottom == BN_RAND_BOTTOM_ANY && top == BN_RAND_TOP_ANY, in TEST_F()
1315 EXPECT_EQ(bottom == BN_RAND_BOTTOM_ANY && top != BN_RAND_TOP_TWO, in TEST_F()
1319 EXPECT_EQ(bottom == BN_RAND_BOTTOM_ANY, seen_0_clear); in TEST_F()
1580 ASSERT_TRUE(BN_rand(a.get(), 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1748 BN_rand(random.get(), len, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY)); in TEST_F()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Drandom.c134 if (bottom != BN_RAND_BOTTOM_ANY && bottom != BN_RAND_BOTTOM_ODD) { in BN_rand()
Dbn_test.cc1031 BN_rand(n.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1087 BN_rand(x.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1264 static const int kBottom[] = {BN_RAND_BOTTOM_ANY, BN_RAND_BOTTOM_ODD}; in TEST_F()
1311 EXPECT_EQ(bottom == BN_RAND_BOTTOM_ANY && top == BN_RAND_TOP_ANY, in TEST_F()
1315 EXPECT_EQ(bottom == BN_RAND_BOTTOM_ANY && top != BN_RAND_TOP_TWO, in TEST_F()
1319 EXPECT_EQ(bottom == BN_RAND_BOTTOM_ANY, seen_0_clear); in TEST_F()
1580 ASSERT_TRUE(BN_rand(a.get(), 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1748 BN_rand(random.get(), len, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY)); in TEST_F()
/external/boringssl/src/crypto/fipsmodule/dh/
Ddh.c244 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/dh/
Ddh.c363 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/include/openssl/
Dbn.h602 #define BN_RAND_BOTTOM_ANY 0 macro
/external/boringssl/src/include/openssl/
Dbn.h602 #define BN_RAND_BOTTOM_ANY 0 macro