Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brian Smith
nettle
Commits
a6af0cc0
Commit
a6af0cc0
authored
Aug 27, 2014
by
Niels Möller
Browse files
New struct ecc_curve field, q_bit_size.
parent
7a806262
Changes
8
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
a6af0cc0
2014-08-27 Niels Möller <nisse@lysator.liu.se>
* ecc-internal.h (struct ecc_curve): New field q_bit_size. Updated
all instances.
* configure.ac: Bumped package version number to 3.1.
(LIBHOGWEED_MAJOR): Bumped library version to 4.0.
...
...
ecc-192.c
View file @
a6af0cc0
...
...
@@ -115,6 +115,7 @@ const struct ecc_curve nettle_secp_192r1 =
192
,
ECC_LIMB_SIZE
,
ECC_BMODP_SIZE
,
192
,
ECC_BMODQ_SIZE
,
USE_REDC
,
ECC_REDC_SIZE
,
...
...
ecc-224.c
View file @
a6af0cc0
...
...
@@ -59,6 +59,7 @@ const struct ecc_curve nettle_secp_224r1 =
224
,
ECC_LIMB_SIZE
,
ECC_BMODP_SIZE
,
224
,
ECC_BMODQ_SIZE
,
USE_REDC
,
ECC_REDC_SIZE
,
...
...
ecc-25519.c
View file @
a6af0cc0
...
...
@@ -237,6 +237,7 @@ const struct ecc_curve nettle_curve25519 =
255
,
ECC_LIMB_SIZE
,
ECC_BMODP_SIZE
,
253
,
ECC_BMODQ_SIZE
,
0
,
/* No redc */
0
,
...
...
ecc-256.c
View file @
a6af0cc0
...
...
@@ -224,6 +224,7 @@ const struct ecc_curve nettle_secp_256r1 =
256
,
ECC_LIMB_SIZE
,
ECC_BMODP_SIZE
,
256
,
ECC_BMODQ_SIZE
,
USE_REDC
,
ECC_REDC_SIZE
,
...
...
ecc-384.c
View file @
a6af0cc0
...
...
@@ -152,6 +152,7 @@ const struct ecc_curve nettle_secp_384r1 =
384
,
ECC_LIMB_SIZE
,
ECC_BMODP_SIZE
,
384
,
ECC_BMODQ_SIZE
,
USE_REDC
,
ECC_REDC_SIZE
,
...
...
ecc-521.c
View file @
a6af0cc0
...
...
@@ -80,6 +80,7 @@ const struct ecc_curve nettle_secp_521r1 =
521
,
ECC_LIMB_SIZE
,
ECC_BMODP_SIZE
,
521
,
ECC_BMODQ_SIZE
,
USE_REDC
,
ECC_REDC_SIZE
,
...
...
ecc-internal.h
View file @
a6af0cc0
...
...
@@ -106,6 +106,7 @@ struct ecc_curve
coordinates. */
unsigned
short
size
;
unsigned
short
Bmodp_size
;
unsigned
short
q_bit_size
;
unsigned
short
Bmodq_size
;
unsigned
short
use_redc
;
/* +k if p+1 has k low zero limbs, -k if p-1 has k low zero
...
...
Write
Preview
Supports
Markdown
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