Searched refs:legendre (Results 1 – 1 of 1) sorted by relevance
286 int res, legendre, i; in sqrtmod_prime() local299 legendre = mpz_legendre(n, prime); in sqrtmod_prime()300 …if (legendre == -1) return CRYPT_ERROR; /* quadratic non-residue … in sqrtmod_prime()338 legendre = mpz_legendre(Z, prime); in sqrtmod_prime()339 if (legendre == -1) break; in sqrtmod_prime()
Completed in 3 milliseconds