Searched refs:BN_RAND_BOTTOM_ANY (Results 1 – 8 of 8) sorted by relevance
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 134 if (bottom != BN_RAND_BOTTOM_ANY && bottom != BN_RAND_BOTTOM_ODD) { in BN_rand()
|
D | bn_test.cc | 1031 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/ |
D | random.c | 134 if (bottom != BN_RAND_BOTTOM_ANY && bottom != BN_RAND_BOTTOM_ODD) { in BN_rand()
|
D | bn_test.cc | 1031 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/ |
D | dh.c | 244 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/ |
D | dh.c | 363 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/ |
D | bn.h | 602 #define BN_RAND_BOTTOM_ANY 0 macro
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 602 #define BN_RAND_BOTTOM_ANY 0 macro
|