diff options
author | Niels Möller <nisse@lysator.liu.se> | 2021-11-08 17:37:05 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2021-11-08 17:37:05 +0100 |
commit | 35f125524fd5ba5ccdb54b4111f732a360f74702 (patch) | |
tree | e416ea1cc75c7129a142255aca25ae44c51c7761 /ecc-secp521r1.c | |
parent | c2726388d1bf23ac8c61dd815ad831e680917778 (diff) | |
download | nettle-35f125524fd5ba5ccdb54b4111f732a360f74702.tar.gz |
Implement secp192r1 square root, based on patch by Wim Lewis.
Diffstat (limited to 'ecc-secp521r1.c')
-rw-r--r-- | ecc-secp521r1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ecc-secp521r1.c b/ecc-secp521r1.c index 7eda3732..1b09e7b1 100644 --- a/ecc-secp521r1.c +++ b/ecc-secp521r1.c @@ -130,6 +130,7 @@ const struct ecc_curve _nettle_secp_521r1 = ECC_REDC_SIZE, ECC_SECP521R1_INV_ITCH, 0, + 0, ecc_p, ecc_Bmodp, @@ -141,6 +142,7 @@ const struct ecc_curve _nettle_secp_521r1 = ecc_secp521r1_modp, ecc_secp521r1_inv, NULL, + NULL, }, { 521, @@ -149,6 +151,7 @@ const struct ecc_curve _nettle_secp_521r1 = 0, ECC_MOD_INV_ITCH (ECC_LIMB_SIZE), 0, + 0, ecc_q, ecc_Bmodq, @@ -160,6 +163,7 @@ const struct ecc_curve _nettle_secp_521r1 = ecc_mod, ecc_mod_inv, NULL, + NULL, }, USE_REDC, |