From: Niels Möller Date: Mon, 22 Sep 2014 15:00:53 +0000 (+0200) Subject: Fixed prototypes for native ecc_25519_modp, ecc_256_redc, and ecc_521_modp. X-Git-Tag: nettle_3.1rc1~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d364ccd4ac3c72ad34537177a10a00bd0c9d0d6;p=thirdparty%2Fnettle.git Fixed prototypes for native ecc_25519_modp, ecc_256_redc, and ecc_521_modp. --- 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