Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nettle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitry Baryshkov
nettle
Commits
4d364ccd
Commit
4d364ccd
authored
Sep 22, 2014
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
Fixed prototypes for native ecc_25519_modp, ecc_256_redc, and ecc_521_modp.
parent
a27bf856
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
ecc-25519.c
+1
-1
1 addition, 1 deletion
ecc-25519.c
ecc-256.c
+1
-1
1 addition, 1 deletion
ecc-256.c
ecc-521.c
+1
-1
1 addition, 1 deletion
ecc-521.c
with
3 additions
and
3 deletions
ecc-25519.c
+
1
−
1
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)
...
...
This diff is collapsed.
Click to expand it.
ecc-256.c
+
1
−
1
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
...
...
This diff is collapsed.
Click to expand it.
ecc-521.c
+
1
−
1
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment