summaryrefslogtreecommitdiff
path: root/ecc-gost-gc512a.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2021-11-08 17:37:05 +0100
committerNiels Möller <nisse@lysator.liu.se>2021-11-08 17:37:05 +0100
commit35f125524fd5ba5ccdb54b4111f732a360f74702 (patch)
treee416ea1cc75c7129a142255aca25ae44c51c7761 /ecc-gost-gc512a.c
parentc2726388d1bf23ac8c61dd815ad831e680917778 (diff)
downloadnettle-35f125524fd5ba5ccdb54b4111f732a360f74702.tar.gz
Implement secp192r1 square root, based on patch by Wim Lewis.
Diffstat (limited to 'ecc-gost-gc512a.c')
-rw-r--r--ecc-gost-gc512a.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ecc-gost-gc512a.c b/ecc-gost-gc512a.c
index 0b9864ef..338ed001 100644
--- a/ecc-gost-gc512a.c
+++ b/ecc-gost-gc512a.c
@@ -66,6 +66,7 @@ const struct ecc_curve _nettle_gost_gc512a =
ECC_REDC_SIZE,
ECC_MOD_INV_ITCH (ECC_LIMB_SIZE),
0,
+ 0,
ecc_p,
ecc_Bmodp,
@@ -77,6 +78,7 @@ const struct ecc_curve _nettle_gost_gc512a =
ecc_gost_gc512a_modp,
ecc_mod_inv,
NULL,
+ NULL,
},
{
512,
@@ -85,6 +87,7 @@ const struct ecc_curve _nettle_gost_gc512a =
0,
ECC_MOD_INV_ITCH (ECC_LIMB_SIZE),
0,
+ 0,
ecc_q,
ecc_Bmodq,
@@ -96,6 +99,7 @@ const struct ecc_curve _nettle_gost_gc512a =
ecc_gost_gc512a_modq,
ecc_mod_inv,
NULL,
+ NULL,
},
USE_REDC,