Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/math/
A Dgmp_desc.c286 int res, legendre, i; in sqrtmod_prime() local
299 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