Home
last modified time | relevance | path

Searched refs:BN_generate_prime_ex (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/crypto/rsa/
Drsa_impl.c898 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/
Ddh.c211 if (!BN_generate_prime_ex(dh->p, prime_bits, 1, t1, t2, cb)) { in DH_generate_parameters_ex()
/external/boringssl/src/crypto/bn/
Dprime.c355 int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add, in BN_generate_prime_ex() function
Dbn_test.cc1366 !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/
Dbn.h651 OPENSSL_EXPORT int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe,