Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Nettle
nettle
Commits
f5a43f62
Commit
f5a43f62
authored
Aug 28, 2014
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deleted unused constant redc_g.
parent
1a154b7f
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
8 additions
and
10 deletions
+8
-10
ChangeLog
ChangeLog
+6
-0
ecc-192.c
ecc-192.c
+0
-1
ecc-224.c
ecc-224.c
+0
-1
ecc-25519.c
ecc-25519.c
+0
-1
ecc-256.c
ecc-256.c
+0
-1
ecc-384.c
ecc-384.c
+0
-1
ecc-521.c
ecc-521.c
+0
-1
ecc-internal.h
ecc-internal.h
+2
-3
eccdata.c
eccdata.c
+0
-1
No files found.
ChangeLog
View file @
f5a43f62
2014-08-28 Niels Möller <nisse@lysator.liu.se>
* eccdata.c (output_curve): Don't output ecc_redc_g.
* ecc-internal.h (struct ecc_curve): Deleted unused field redc_g.
Updated all instances.
2014-08-27 Niels Möller <nisse@lysator.liu.se>
* ecc-modq.c (ecc_modq_inv): Use q_bit_size.
...
...
ecc-192.c
View file @
f5a43f62
...
...
@@ -139,7 +139,6 @@ const struct ecc_curve nettle_secp_192r1 =
ecc_b
,
ecc_q
,
ecc_g
,
ecc_redc_g
,
NULL
,
ecc_Bmodp
,
ecc_Bmodp_shifted
,
...
...
ecc-224.c
View file @
f5a43f62
...
...
@@ -83,7 +83,6 @@ const struct ecc_curve nettle_secp_224r1 =
ecc_b
,
ecc_q
,
ecc_g
,
ecc_redc_g
,
NULL
,
ecc_Bmodp
,
ecc_Bmodp_shifted
,
...
...
ecc-25519.c
View file @
f5a43f62
...
...
@@ -262,7 +262,6 @@ const struct ecc_curve nettle_curve25519 =
ecc_d
,
/* Use the Edwards curve constant. */
ecc_q
,
ecc_g
,
ecc_redc_g
,
ecc_edwards
,
ecc_Bmodp
,
ecc_Bmodp_shifted
,
...
...
ecc-256.c
View file @
f5a43f62
...
...
@@ -248,7 +248,6 @@ const struct ecc_curve nettle_secp_256r1 =
ecc_b
,
ecc_q
,
ecc_g
,
ecc_redc_g
,
NULL
,
ecc_Bmodp
,
ecc_Bmodp_shifted
,
...
...
ecc-384.c
View file @
f5a43f62
...
...
@@ -176,7 +176,6 @@ const struct ecc_curve nettle_secp_384r1 =
ecc_b
,
ecc_q
,
ecc_g
,
ecc_redc_g
,
NULL
,
ecc_Bmodp
,
ecc_Bmodp_shifted
,
...
...
ecc-521.c
View file @
f5a43f62
...
...
@@ -104,7 +104,6 @@ const struct ecc_curve nettle_secp_521r1 =
ecc_b
,
ecc_q
,
ecc_g
,
ecc_redc_g
,
NULL
,
ecc_Bmodp
,
ecc_Bmodp_shifted
,
...
...
ecc-internal.h
View file @
f5a43f62
...
...
@@ -133,10 +133,9 @@ struct ecc_curve
const
mp_limb_t
*
b
;
/* Group order. */
const
mp_limb_t
*
q
;
/* Generator, x coordinate followed by y (affine coordinates). */
/* Generator, x coordinate followed by y (affine coordinates).
Currently used only by the test suite. */
const
mp_limb_t
*
g
;
/* Generator with coordinates in Montgomery form. */
const
mp_limb_t
*
redc_g
;
/* If non-NULL, the constant needed for transformation to the
equivalent Edwards curve. */
const
mp_limb_t
*
edwards_root
;
...
...
eccdata.c
View file @
f5a43f62
...
...
@@ -944,7 +944,6 @@ output_curve (const struct ecc_curve *ecc, unsigned bits_per_limb)
output_bignum
(
"ecc_d"
,
ecc
->
d
,
limb_size
,
bits_per_limb
);
output_bignum
(
"ecc_q"
,
ecc
->
q
,
limb_size
,
bits_per_limb
);
output_point
(
"ecc_g"
,
ecc
,
&
ecc
->
g
,
0
,
limb_size
,
bits_per_limb
);
output_point
(
"ecc_redc_g"
,
ecc
,
&
ecc
->
g
,
1
,
limb_size
,
bits_per_limb
);
bits
=
output_modulo
(
"ecc_Bmodp"
,
ecc
->
p
,
limb_size
,
bits_per_limb
);
printf
(
"#define ECC_BMODP_SIZE %u
\n
"
,
...
...
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