Searched refs:BN_RAND_TOP_TWO (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 134 top != BN_RAND_TOP_TWO) { in BN_rand() 163 if (top == BN_RAND_TOP_TWO && bits > 1) { in BN_rand()
|
D | prime.c | 686 if (!BN_rand(rnd, bits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ODD)) { in probable_prime()
|
D | bn_test.cc | 1081 ASSERT_TRUE(BN_rand(bn.get(), 0, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ODD)); in TEST_F() 1086 ASSERT_TRUE(BN_rand(bn.get(), 1, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY)); in TEST_F() 1091 ASSERT_TRUE(BN_rand(bn.get(), 2, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY)); in TEST_F() 1496 BN_rand(random.get(), len, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY)); in TEST_F()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 590 #define BN_RAND_TOP_TWO 1 macro
|