Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nettle
nettle
Commits
4d364ccd
Commit
4d364ccd
authored
Sep 22, 2014
by
Niels Möller
Browse files
Fixed prototypes for native ecc_25519_modp, ecc_256_redc, and ecc_521_modp.
parent
a27bf856
Changes
3
Hide whitespace changes
Inline
Side-by-side
ecc-25519.c
View file @
4d364ccd
...
...
@@ -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)
...
...
ecc-256.c
View file @
4d364ccd
...
...
@@ -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
...
...
ecc-521.c
View file @
4d364ccd
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment