Home
last modified time | relevance | path

Searched refs:BN_RAND_TOP_TWO (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Drandom.c134 top != BN_RAND_TOP_TWO) { in BN_rand()
163 if (top == BN_RAND_TOP_TWO && bits > 1) { in BN_rand()
Dprime.c686 if (!BN_rand(rnd, bits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ODD)) { in probable_prime()
Dbn_test.cc1081 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/
Dbn.h590 #define BN_RAND_TOP_TWO 1 macro