]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Fixed prototypes for native ecc_25519_modp, ecc_256_redc, and ecc_521_modp.
authorNiels Möller <nisse@lysator.liu.se>
Mon, 22 Sep 2014 15:00:53 +0000 (17:00 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 22 Sep 2014 15:00:53 +0000 (17:00 +0200)
ecc-25519.c
ecc-256.c
ecc-521.c

index 0c02d7e7a53bd54c5617cf70437fdc870bafd916..c557ae41dffdde426f4c348738f7647333c3c17f 100644 (file)
@@ -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)
index 843ee76961a012160fe5e35ae9e44e21015c9f35..259b9c9c04b27d91b247f34d0bbdec1ee5e57046 100644 (file)
--- 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
index 4e1f1ab3b186ad5ebc1f1c3fe0e383a960a2f702..66ed8b0d450d452dddeea518352b2d1a38ffaeca 100644 (file)
--- 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