Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bn/
Dprime.c499 if (BN_mod_word(a, primes[i]) == 0) { in BN_is_prime_fasttest_ex()
657 mods[i] = (uint16_t)BN_mod_word(rnd, (BN_ULONG)primes[i]); in probable_prime()
757 if (BN_mod_word(rnd, (BN_ULONG)primes[i]) <= 1) { in probable_prime_dh()
829 if ((BN_mod_word(p, (BN_ULONG)primes[i]) == 0) || in probable_prime_dh_safe()
830 (BN_mod_word(q, (BN_ULONG)primes[i]) == 0)) { in probable_prime_dh_safe()
Ddiv.c603 BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w) { in BN_mod_word() function
/external/boringssl/src/crypto/dh/
Dcheck.c149 l = BN_mod_word(dh->p, 24); in DH_check()
154 l = BN_mod_word(dh->p, 10); in DH_check()
/external/openssh/
Dmoduli.c193 r = BN_mod_word(largebase, s); in sieve_large()
718 if (BN_mod_word(p, 24) == 11) in prime_test()
720 else if (BN_mod_word(p, 12) == 5) in prime_test()
723 u_int32_t r = BN_mod_word(p, 10); in prime_test()
/external/boringssl/src/include/openssl/
Dbn.h482 OPENSSL_EXPORT BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);