summaryrefslogtreecommitdiff
path: root/ecc-a-to-j.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2014-08-23 23:31:47 +0200
committerNiels Möller <nisse@lysator.liu.se>2014-08-23 23:31:47 +0200
commitdd94851aaaea0e76992260b0696d6dc843c22819 (patch)
tree0d9c7f53ece6c00f84aa8c31d2e4874510d410f1 /ecc-a-to-j.c
parent308c10895e695edd08b09453360b390b591c3c7e (diff)
downloadnettle-dd94851aaaea0e76992260b0696d6dc843c22819.tar.gz
Deleted unused INITIAL argument for ecc_a_to_j.
Diffstat (limited to 'ecc-a-to-j.c')
-rw-r--r--ecc-a-to-j.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ecc-a-to-j.c b/ecc-a-to-j.c
index 5f7cc687..36e4d150 100644
--- a/ecc-a-to-j.c
+++ b/ecc-a-to-j.c
@@ -40,10 +40,9 @@
void
ecc_a_to_j (const struct ecc_curve *ecc,
- int initial,
mp_limb_t *r, const mp_limb_t *p)
{
- if (ecc->use_redc && initial)
+ if (ecc->use_redc)
{
mpn_copyd (r + ecc->size, p, 2*ecc->size);