From b0e210a02b8576828ac64e8b97bd565fd28c8748 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 6 May 2016 13:48:43 +0200 Subject: Make zmul and zsqr (calls low-level functions) inline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/zpow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/zpow.c') diff --git a/src/zpow.c b/src/zpow.c index af45eb9..29eea83 100644 --- a/src/zpow.c +++ b/src/zpow.c @@ -46,15 +46,15 @@ zpow(z_t a, z_t b, z_t c) x = tc->chars[i]; for (j = BITS_PER_CHAR; j--; x >>= 1) { if (x & 1) - zmul_impl(a, a, tb); - zsqr_impl(tb, tb); + zmul_ll(a, a, tb); + zsqr_ll(tb, tb); } } x = tc->chars[i]; for (; x; x >>= 1) { if (x & 1) - zmul_impl(a, a, tb); - zsqr_impl(tb, tb); + zmul_ll(a, a, tb); + zsqr_ll(tb, tb); } if (neg) -- cgit v1.2.3-70-g09d2