Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bn/
Dprime.c499 if (BN_mod_word(a, primes[i]) == 0) { in BN_is_prime_fasttest_ex()
656 mods[i] = (uint16_t)BN_mod_word(rnd, (BN_ULONG)primes[i]); in probable_prime()
756 if (BN_mod_word(rnd, (BN_ULONG)primes[i]) <= 1) { in probable_prime_dh()
828 if ((BN_mod_word(p, (BN_ULONG)primes[i]) == 0) || in probable_prime_dh_safe()
829 (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/tpm2/
DRSAKeySieve.c481 adjust = BN_mod_word(bnN,105); in PrimeSieve()
524 composite = BN_mod_word(bnN, composite); in PrimeSieve()
635 if((e <= 3) || (BN_mod_word(bnP, e) != (e-1))) in PrimeSelectWithSieve()
DCpriRSA.c1297 rem = BN_mod_word(bnP, e); in _cpri__GenerateKeyRSA()
Dpart4.txt30374 1172 rem = BN_mod_word(bnP, e);
31174 379 adjust = BN_mod_word(bnN,105);
31222 427 composite = BN_mod_word(bnN, composite);
31347 530 if((e <= 3) || (BN_mod_word(bnP, e) != (e-1)))
/external/boringssl/src/include/openssl/
Dbn.h501 OPENSSL_EXPORT BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);