summaryrefslogtreecommitdiff
path: root/ecc-internal.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2020-10-20 22:27:41 +0200
committerNiels Möller <nisse@lysator.liu.se>2020-11-11 20:56:56 +0100
commitd921f8869577a5de83687290e2fe2a80d8c03ac8 (patch)
tree65c24bd264b4ecfed912521b8e22b619d9b404d9 /ecc-internal.h
parent219fcda017035d0e2af0af35b5a65115d092c1c2 (diff)
downloadnettle-d921f8869577a5de83687290e2fe2a80d8c03ac8.tar.gz
Delete ecc_mod_inv_redc
Diffstat (limited to 'ecc-internal.h')
-rw-r--r--ecc-internal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ecc-internal.h b/ecc-internal.h
index b4dfad2e..d26458e1 100644
--- a/ecc-internal.h
+++ b/ecc-internal.h
@@ -54,7 +54,6 @@
#define ecc_mod_random _nettle_ecc_mod_random
#define ecc_mod _nettle_ecc_mod
#define ecc_mod_inv _nettle_ecc_mod_inv
-#define ecc_mod_inv_redc _nettle_ecc_mod_inv_redc
#define ecc_hash _nettle_ecc_hash
#define gost_hash _nettle_gost_hash
#define ecc_a_to_j _nettle_ecc_a_to_j
@@ -235,7 +234,6 @@ ecc_mod_func ecc_pp1_redc;
ecc_mod_func ecc_pm1_redc;
ecc_mod_inv_func ecc_mod_inv;
-ecc_mod_inv_func ecc_mod_inv_redc;
void
ecc_mod_add (const struct ecc_modulo *m, mp_limb_t *rp,
@@ -441,7 +439,7 @@ curve448_eh_to_x (mp_limb_t *xp, const mp_limb_t *p,
/* Current scratch needs: */
#define ECC_MOD_INV_ITCH(size) (2*(size))
-/* Only valid when using the general ecc_mod_inv/ecc_mod_inv_redc ! */
+/* Only valid when using the general ecc_mod_inv ! */
#define ECC_J_TO_A_ITCH(size) (4*(size))
#define ECC_EH_TO_A_ITCH(size, inv) (2*(size)+(inv))
#define ECC_DUP_JJ_ITCH(size) (4*(size))