diff options
author | Niels Möller <nisse@lysator.liu.se> | 2020-10-28 21:48:10 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-10-28 21:48:10 +0100 |
commit | 2f3c633e94f09cd03a94ffd8f7ddac4020da81e7 (patch) | |
tree | dedc83ac498c670e493e7df26f7b2fae90dc6c2b /ecc-pp1-redc.c | |
parent | 1cbc9e094eae458ff83b0a59c33a929520c51a63 (diff) | |
download | nettle-2f3c633e94f09cd03a94ffd8f7ddac4020da81e7.tar.gz |
Use GMP functions mpn_cnd_add_n, mpn_cnd_sub_n and mpn_cnd_swap.use-mpn_cnd-functions
Diffstat (limited to 'ecc-pp1-redc.c')
-rw-r--r-- | ecc-pp1-redc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecc-pp1-redc.c b/ecc-pp1-redc.c index ae5b9669..9f643d97 100644 --- a/ecc-pp1-redc.c +++ b/ecc-pp1-redc.c @@ -63,7 +63,7 @@ ecc_pp1_redc (const struct ecc_modulo *m, mp_limb_t *rp) } else { - cy = cnd_sub_n (hi, rp, m->m, m->size); + cy = mpn_cnd_sub_n (hi, rp, rp, m->m, m->size); assert (cy == hi); } } |