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.c129 top != BN_RAND_TOP_TWO) { in BN_rand()
161 if (top == BN_RAND_TOP_TWO && bits > 1) { in BN_rand()
Dprime.c958 if (!BN_rand(rnd, bits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ODD)) { in probable_prime()
Dbn_test.cc1245 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/
Dbn.h599 #define BN_RAND_TOP_TWO 1 macro