Home
last modified time | relevance | path

Searched refs:mod_jacobi (Results 1 – 6 of 6) sorted by relevance

/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/utils/
H A Droots_mod.c205 if (k % 2 == 0 && mod_jacobi(b, pp) == 1) in omega()
251 } while (i < isprime_table_size && (!isprime_table[i] || mod_jacobi (zz, pp) != -1));
263 if ((d & 3) == 0 && mod_jacobi (rr[d/2+i], pp) != 1)
316 if ((d & 3) == 0 && mod_jacobi (rr[d/2+i], pp) != 1) in tonelli_shanks5()
363 if (mod_jacobi(discr, pp) == -1) { in one_root2_V()
378 if (mod_jacobi(discr, pp) == -1) in one_root2_V()
431 if ((d & 3) == 0 && mod_jacobi (rr[d/2+i], pp) != 1) in roots2_V()
448 if (mod_jacobi (aa, pp) != 1) in roots2()
471 if ((d & 3) == 0 && mod_jacobi (rr[d/2+i], pp) != 1) in roots2()
H A Dmod_rename.h69 #undef mod_jacobi
141 #define mod_jacobi MOD_RENAME(jacobi) macro
227 p = (void*) &mod_jacobi; in mod_test_if_functions_exist()
H A Dmod_ul_common.c650 mod_jacobi (const residue_t a_par, const modulus_t m_par) in mod_jacobi() function
854 mod_jacobi (const residue_t a_par, const modulus_t m_par) in mod_jacobi() function
H A Dmodredc_2ul_common.c701 mod_jacobi (const residue_t a_par, const modulus_t m_par) in mod_jacobi() function
/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/sieve/ecm/
H A Dec_arith_Montgomery.h404 bchar = mod_jacobi (t, m); in montgomery_curve_order()
419 order = order + (unsigned long) (1L + (long) mod_jacobi (t, m)); in montgomery_curve_order()
421 order = order + (unsigned long) (1L - (long) mod_jacobi (t, m)); in montgomery_curve_order()
/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/tests/utils/
H A Dtest_mod.c682 j1 = mod_jacobi (a, m); in test_mod_jacobi()