Searched refs:BN_RAND_BOTTOM_ODD (Results 1 – 5 of 5) sorted by relevance
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 134 if (bottom != BN_RAND_BOTTOM_ANY && bottom != BN_RAND_BOTTOM_ODD) { in BN_rand() 172 if (bottom == BN_RAND_BOTTOM_ODD) { in BN_rand()
|
D | prime.c | 958 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()
|
D | bn_test.cc | 1246 static const int kBottom[] = {BN_RAND_BOTTOM_ANY, BN_RAND_BOTTOM_ODD}; in TEST_F()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 603 #define BN_RAND_BOTTOM_ODD 1 macro
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa_impl.c | 1011 if (!BN_rand(out, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD) || in generate_prime()
|