Home
last modified time | relevance | path

Searched refs:res_tab (Results 1 – 2 of 2) sorted by relevance

/external/dropbear/libtommath/
Dbn_mp_prime_next_prime.c26 mp_digit res_tab[PRIME_SIZE], step, kstep; in mp_prime_next_prime() local
97 if ((err = mp_mod_d(a, ltm_prime_tab[x], res_tab + x)) != MP_OKAY) { in mp_prime_next_prime()
120 res_tab[x] += kstep; in mp_prime_next_prime()
123 if (res_tab[x] >= ltm_prime_tab[x]) { in mp_prime_next_prime()
124 res_tab[x] -= ltm_prime_tab[x]; in mp_prime_next_prime()
128 if (res_tab[x] == 0) { in mp_prime_next_prime()
/external/dropbear/libtommath/pre_gen/
Dmpi.c5861 mp_digit res_tab[PRIME_SIZE], step, kstep; in mp_prime_next_prime() local
5932 if ((err = mp_mod_d(a, ltm_prime_tab[x], res_tab + x)) != MP_OKAY) { in mp_prime_next_prime()
5955 res_tab[x] += kstep; in mp_prime_next_prime()
5958 if (res_tab[x] >= ltm_prime_tab[x]) { in mp_prime_next_prime()
5959 res_tab[x] -= ltm_prime_tab[x]; in mp_prime_next_prime()
5963 if (res_tab[x] == 0) { in mp_prime_next_prime()