Home
last modified time | relevance | path

Searched refs:BN_RAND_BOTTOM_ODD (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Drandom.c134 if (bottom != BN_RAND_BOTTOM_ANY && bottom != BN_RAND_BOTTOM_ODD) { in BN_rand()
172 if (bottom == BN_RAND_BOTTOM_ODD) { in BN_rand()
Dprime.c958 if (!BN_rand(rnd, bits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ODD)) { in probable_prime()
1038 if (!BN_rand(rnd, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD)) { in probable_prime_dh()
1098 if (!BN_rand(q, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD)) { in probable_prime_dh_safe()
Dbn_test.cc1246 static const int kBottom[] = {BN_RAND_BOTTOM_ANY, BN_RAND_BOTTOM_ODD}; in TEST_F()
/external/boringssl/src/include/openssl/
Dbn.h603 #define BN_RAND_BOTTOM_ODD 1 macro
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c1011 if (!BN_rand(out, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD) || in generate_prime()