Home
last modified time | relevance | path

Searched refs:BN_RAND_BOTTOM_ANY (Results 1 – 4 of 4) 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.cc1013 BN_rand(n.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1069 BN_rand(x.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1246 static const int kBottom[] = {BN_RAND_BOTTOM_ANY, BN_RAND_BOTTOM_ODD}; in TEST_F()
1293 EXPECT_EQ(bottom == BN_RAND_BOTTOM_ANY && top == BN_RAND_TOP_ANY, in TEST_F()
1297 EXPECT_EQ(bottom == BN_RAND_BOTTOM_ANY && top != BN_RAND_TOP_TWO, in TEST_F()
1301 EXPECT_EQ(bottom == BN_RAND_BOTTOM_ANY, seen_0_clear); in TEST_F()
1562 ASSERT_TRUE(BN_rand(a.get(), 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1730 BN_rand(random.get(), len, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY)); in TEST_F()
/external/boringssl/src/crypto/dh/
Ddh.c349 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.h602 #define BN_RAND_BOTTOM_ANY 0 macro