Home
last modified time | relevance | path

Searched refs:BN_rand (Results 1 – 12 of 12) 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.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.cc1013 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/
Ddh.c349 if (!BN_rand(priv_key, priv_bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) { in DH_generate_key()
/external/openssh/
Dmoduli.c330 if (BN_rand(largebase, power, 1, 1) == 0) in gen_candidates()
/external/boringssl/src/include/openssl/
Dbn.h617 OPENSSL_EXPORT int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
/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()
/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/wpa_supplicant_8/src/common/
Ddpp.c6760 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()