Commit 4d364ccd authored by Niels Möller's avatar Niels Möller

Fixed prototypes for native ecc_25519_modp, ecc_256_redc, and ecc_521_modp.

parent a27bf856
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#define ecc_25519_modp nettle_ecc_25519_modp #define ecc_25519_modp nettle_ecc_25519_modp
void 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 #else
#define PHIGH_BITS (GMP_NUMB_BITS * ECC_LIMB_SIZE - 255) #define PHIGH_BITS (GMP_NUMB_BITS * ECC_LIMB_SIZE - 255)
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
#if HAVE_NATIVE_ecc_256_redc #if HAVE_NATIVE_ecc_256_redc
# define ecc_256_redc nettle_ecc_256_redc # define ecc_256_redc nettle_ecc_256_redc
void 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 */ #else /* !HAVE_NATIVE_ecc_256_redc */
# if ECC_REDC_SIZE > 0 # if ECC_REDC_SIZE > 0
# define ecc_256_redc ecc_pp1_redc # define ecc_256_redc ecc_pp1_redc
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#if HAVE_NATIVE_ecc_521_modp #if HAVE_NATIVE_ecc_521_modp
#define ecc_521_modp nettle_ecc_521_modp #define ecc_521_modp nettle_ecc_521_modp
void 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 #else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment