From fdc75a358e4c20116640c08f4e8ce7a09dc3cebd Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 7 May 2016 03:02:56 +0200 Subject: Optimisations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/zptest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/zptest.c') diff --git a/src/zptest.c b/src/zptest.c index 29e50b7..406cedc 100644 --- a/src/zptest.c +++ b/src/zptest.c @@ -47,8 +47,7 @@ zptest(z_t witness, z_t n, int t) continue; for (i = 1; i < r; i++) { - zsqr(x, x); - zmod(x, x, n); + zmodsqr(x, x, n); if (!zcmp(x, libzahl_const_1)) { if (witness) zswap(witness, a); -- cgit v1.2.3-70-g09d2