Searched refs:BN_RAND_BOTTOM_ANY (Results 1 – 4 of 4) 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 | 1013 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/ |
D | dh.c | 349 if (!BN_rand(priv_key, priv_bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) { in DH_generate_key()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 602 #define BN_RAND_BOTTOM_ANY 0 macro
|