Searched refs:BN_RAND_TOP_TWO (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 129 top != BN_RAND_TOP_TWO) { in BN_rand() 161 if (top == BN_RAND_TOP_TWO && bits > 1) { in BN_rand()
|
D | prime.c | 958 if (!BN_rand(rnd, bits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ODD)) { in probable_prime()
|
D | bn_test.cc | 1245 static const int kTop[] = {BN_RAND_TOP_ANY, BN_RAND_TOP_ONE, BN_RAND_TOP_TWO}; in TEST_F() 1297 EXPECT_EQ(bottom == BN_RAND_BOTTOM_ANY && top != BN_RAND_TOP_TWO, in TEST_F() 1302 EXPECT_EQ(top != BN_RAND_TOP_TWO, seen_n_2_clear); in TEST_F() 1730 BN_rand(random.get(), len, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY)); in TEST_F()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 599 #define BN_RAND_TOP_TWO 1 macro
|