Home
last modified time | relevance | path

Searched refs:kPrimes (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Dprime.c123 static const uint16_t kPrimes[] = { variable
294 return OPENSSL_ARRAY_SIZE(kPrimes); in num_trial_division_primes()
296 return OPENSSL_ARRAY_SIZE(kPrimes) / 2; in num_trial_division_primes()
488 if (bn_mod_u16_consttime(bn, kPrimes[i]) == 0) { in bn_trial_division()
489 *out = kPrimes[i]; in bn_trial_division()
979 if (bn_mod_u16_consttime(rnd, kPrimes[i]) <= 1) { in probable_prime_dh()
1052 if (bn_mod_u16_consttime(p, kPrimes[i]) == 0 || in probable_prime_dh_safe()
1053 bn_mod_u16_consttime(q, kPrimes[i]) == 0) { in probable_prime_dh_safe()
Dbn_test.cc1760 static const int kPrimes[] = { variable
1975 const int max_prime = kPrimes[OPENSSL_ARRAY_SIZE(kPrimes)-1]; in TEST_F()
1982 if (i == kPrimes[next_prime_index]) { in TEST_F()
/external/boringssl/src/crypto/fipsmodule/
Dbcm.c188 assert_within(rodata_start, kPrimes, rodata_end); in BORINGSSL_bcm_power_on_self_test()