summaryrefslogtreecommitdiff
path: root/ecc.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2014-08-23 23:22:03 +0200
committerNiels Möller <nisse@lysator.liu.se>2014-08-23 23:24:14 +0200
commit308c10895e695edd08b09453360b390b591c3c7e (patch)
treeb2d037a0c0ec772d4974fce8894bb61301c3ce2f /ecc.h
parentb9f98cb7360ddf563419ad236911347ba71a0961 (diff)
downloadnettle-308c10895e695edd08b09453360b390b591c3c7e.tar.gz
Deleted unused INITIAL argument for ecc_mul_a.
Diffstat (limited to 'ecc.h')
-rw-r--r--ecc.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/ecc.h b/ecc.h
index e2efbeb0..97de76e1 100644
--- a/ecc.h
+++ b/ecc.h
@@ -285,15 +285,13 @@ ecc_mul_g (const struct ecc_curve *ecc, mp_limb_t *r,
const mp_limb_t *np, mp_limb_t *scratch);
/* Computes N * P. The scalar N is the same as for ecc_mul_g. P is a
- non-zero point on the curve, in affine coordinates. Pass a non-zero
- INITIAL if the point coordinates have not previously been converted
- to Montgomery representation. Output R is a non-zero point, in
- Jacobian coordinates. */
+ non-zero point on the curve, in affine coordinates. Output R is a
+ non-zero point, in Jacobian coordinates. */
mp_size_t
ecc_mul_a_itch (const struct ecc_curve *ecc);
void
ecc_mul_a (const struct ecc_curve *ecc,
- int initial, mp_limb_t *r,
+ mp_limb_t *r,
const mp_limb_t *np, const mp_limb_t *p,
mp_limb_t *scratch);