Home
last modified time | relevance | path

Searched refs:BN_rand (Results 1 – 19 of 19) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Drandom.c123 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()
Dprime.c934 if (!BN_rand(rnd, bits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ODD)) { in probable_prime()
951 if (!BN_rand(rnd, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD)) { in probable_prime_dh()
1011 if (!BN_rand(q, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD)) { in probable_prime_dh_safe()
Dbn_test.cc1031 BN_rand(n.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1087 BN_rand(x.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1279 ASSERT_TRUE(BN_rand(bn.get(), bits, top, bottom)); in TEST_F()
1580 ASSERT_TRUE(BN_rand(a.get(), 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1748 BN_rand(random.get(), len, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY)); in TEST_F()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Drandom.c123 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()
Dprime.c934 if (!BN_rand(rnd, bits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ODD)) { in probable_prime()
951 if (!BN_rand(rnd, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD)) { in probable_prime_dh()
1011 if (!BN_rand(q, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD)) { in probable_prime_dh_safe()
Dbn_test.cc1031 BN_rand(n.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1087 BN_rand(x.get(), bytes * 8, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1279 ASSERT_TRUE(BN_rand(bn.get(), bits, top, bottom)); in TEST_F()
1580 ASSERT_TRUE(BN_rand(a.get(), 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)); in TEST_F()
1748 BN_rand(random.get(), len, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY)); in TEST_F()
/external/boringssl/src/crypto/fipsmodule/dh/
Ddh.c244 if (!BN_rand(priv_key, priv_bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) { in DH_generate_key()
/external/rust/crates/quiche/deps/boringssl/src/crypto/dh/
Ddh.c363 if (!BN_rand(priv_key, priv_bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) { in DH_generate_key()
/external/openssh/
Dmoduli.c332 if (BN_rand(largebase, power, 1, 1) == 0) in gen_candidates()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dbn.h617 OPENSSL_EXPORT int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
/external/boringssl/src/include/openssl/
Dbn.h617 OPENSSL_EXPORT int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c1034 if (!BN_rand(out, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD) || in generate_prime()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c1066 if (!BN_rand(out, bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ODD) || in generate_prime()
/external/wpa_supplicant_8/src/common/
Ddpp_crypto.c3236 if (BN_rand(x, curve->prime_len * 8, 0, 0) != 1) in dpp_test_gen_invalid_key()
3242 if (BN_rand(y, curve->prime_len * 8, 0, 0) != 1) in dpp_test_gen_invalid_key()
/external/grpc-grpc/src/objective-c/
Dgrpc_shadow_boringssl_symbol_list786 BN_rand
DBoringSSL-GRPC.podspec2338 '#define BN_rand GRPC_SHADOW_BN_rand',
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c2445 BN_rand(r, size * 8, 0, 0);
/external/grpc-grpc/src/core/tsi/
Dgrpc_shadow_boringssl.h814 #define BN_rand GRPC_SHADOW_BN_rand macro
/external/rust/crates/grpcio-sys/grpc/src/boringssl/
Dboringssl_prefix_symbols.h971 #define BN_rand BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_rand) macro