Searched refs:BN_rand (Results 1 – 12 of 12) sorted by relevance
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 123 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) { in BN_rand() function 182 return BN_rand(rnd, bits, top, bottom); in BN_pseudo_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 | 1013 BN_rand(n.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F() 1069 BN_rand(x.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F() 1261 ASSERT_TRUE(BN_rand(bn.get(), bits, top, bottom)); in TEST_F() 1562 ASSERT_TRUE(BN_rand(a.get(), 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F() 1730 BN_rand(random.get(), len, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY)); in TEST_F()
|
/external/boringssl/src/crypto/dh/ |
D | dh.c | 349 if (!BN_rand(priv_key, priv_bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) { in DH_generate_key()
|
/external/openssh/ |
D | moduli.c | 330 if (BN_rand(largebase, power, 1, 1) == 0) in gen_candidates()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 617 OPENSSL_EXPORT int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
|
/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()
|
/external/grpc-grpc/src/objective-c/ |
D | grpc_shadow_boringssl_symbol_list | 786 BN_rand
|
D | BoringSSL-GRPC.podspec | 2338 '#define BN_rand GRPC_SHADOW_BN_rand',
|
/external/ipsec-tools/src/racoon/ |
D | crypto_openssl.c | 2445 BN_rand(r, size * 8, 0, 0);
|
/external/grpc-grpc/src/core/tsi/ |
D | grpc_shadow_boringssl.h | 814 #define BN_rand GRPC_SHADOW_BN_rand macro
|
/external/wpa_supplicant_8/src/common/ |
D | dpp.c | 6760 if (BN_rand(x, curve->prime_len * 8, 0, 0) != 1) in dpp_test_gen_invalid_key() 6766 if (BN_rand(y, curve->prime_len * 8, 0, 0) != 1) in dpp_test_gen_invalid_key()
|