Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Wim Lewis
nettle
Commits
c36a8dee
Commit
c36a8dee
authored
Feb 27, 2013
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed 32-bit ecc_192_modp.
parent
a3888205
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
ChangeLog
ChangeLog
+1
-0
ecc-192.c
ecc-192.c
+1
-1
No files found.
ChangeLog
View file @
c36a8dee
...
...
@@ -2,6 +2,7 @@
* ecc-192.c: Check HAVE_NATIVE_ecc_192_modp, and use native
version if available.
(ecc_192_modp): Fixed carry handling bug in 32-bit version.
* x86_64/ecc-192-modp.asm: New file.
...
...
ecc-192.c
View file @
c36a8dee
...
...
@@ -66,7 +66,7 @@ ecc_192_modp (const struct ecc_curve *ecc UNUSED, mp_limb_t *rp)
cy
=
sec_add_1
(
rp
+
5
,
rp
+
5
,
1
,
cy
);
assert
(
cy
<=
1
);
cy
=
cnd_add_n
(
cy
,
rp
,
ecc_Bmodp
,
3
);
cy
=
cnd_add_n
(
cy
,
rp
,
ecc_Bmodp
,
6
);
assert
(
cy
==
0
);
}
#elif GMP_NUMB_BITS == 64
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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