From 4d364ccd4ac3c72ad34537177a10a00bd0c9d0d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niels=20M=C3=B6ller?= Date: Mon, 22 Sep 2014 17:00:53 +0200 Subject: [PATCH] Fixed prototypes for native ecc_25519_modp, ecc_256_redc, and ecc_521_modp. --- ecc-25519.c | 2 +- ecc-256.c | 2 +- ecc-521.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ecc-25519.c b/ecc-25519.c index 0c02d7e7..c557ae41 100644 --- a/ecc-25519.c +++ b/ecc-25519.c @@ -48,7 +48,7 @@ #define ecc_25519_modp nettle_ecc_25519_modp void -ecc_25519_modp (const struct ecc_curve *ecc, mp_limb_t *rp); +ecc_25519_modp (const struct ecc_modulo *m, mp_limb_t *rp); #else #define PHIGH_BITS (GMP_NUMB_BITS * ECC_LIMB_SIZE - 255) diff --git a/ecc-256.c b/ecc-256.c index 843ee769..259b9c9c 100644 --- a/ecc-256.c +++ b/ecc-256.c @@ -53,7 +53,7 @@ #if HAVE_NATIVE_ecc_256_redc # define ecc_256_redc nettle_ecc_256_redc void -ecc_256_redc (const struct ecc_curve *ecc, mp_limb_t *rp); +ecc_256_redc (const struct ecc_modulo *p, mp_limb_t *rp); #else /* !HAVE_NATIVE_ecc_256_redc */ # if ECC_REDC_SIZE > 0 # define ecc_256_redc ecc_pp1_redc diff --git a/ecc-521.c b/ecc-521.c index 4e1f1ab3..66ed8b0d 100644 --- a/ecc-521.c +++ b/ecc-521.c @@ -47,7 +47,7 @@ #if HAVE_NATIVE_ecc_521_modp #define ecc_521_modp nettle_ecc_521_modp void -ecc_521_modp (const struct ecc_curve *ecc, mp_limb_t *rp); +ecc_521_modp (const struct ecc_modulo *m, mp_limb_t *rp); #else -- 2.47.3