Searched refs:BN_generate_prime_ex (Results 1 – 5 of 5) sorted by relevance
/external/boringssl/src/crypto/rsa/ |
D | rsa_impl.c | 898 if (!BN_generate_prime_ex(rsa->p, prime_bits, 0, NULL, NULL, cb) || in rsa_default_multi_prime_keygen() 920 if (!BN_generate_prime_ex(rsa->q, prime_bits, 0, NULL, NULL, cb)) { in rsa_default_multi_prime_keygen() 953 if (!BN_generate_prime_ex(ap->prime, prime_bits, 0, NULL, NULL, cb)) { in rsa_default_multi_prime_keygen()
|
/external/boringssl/src/crypto/dh/ |
D | dh.c | 211 if (!BN_generate_prime_ex(dh->p, prime_bits, 1, t1, t2, cb)) { in DH_generate_parameters_ex()
|
/external/boringssl/src/crypto/bn/ |
D | prime.c | 355 int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add, in BN_generate_prime_ex() function
|
D | bn_test.cc | 1366 !BN_generate_prime_ex(p.get(), 256, 0, a.get(), r.get(), nullptr)) { in test_mod_sqrt() 1413 if (!r || !BN_generate_prime_ex(r.get(), static_cast<int>(kBits), 0, NULL, in test_small_prime()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 651 OPENSSL_EXPORT int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe,
|