From 93eb83f20d56ff25dd57f3fa4e810cdf8d488239 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Mon, 10 Feb 2020 18:09:33 +0300 Subject: ecc: remove ecc_modp_foo/ecc_modq_foo macros To make ecc functions usage more obvious remove ecc_modp_foo() and ecc_modq_foo() wrapper macros. Signed-off-by: Dmitry Baryshkov --- curve448-eh-to-x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'curve448-eh-to-x.c') diff --git a/curve448-eh-to-x.c b/curve448-eh-to-x.c index 4bc78303..ffeb83c1 100644 --- a/curve448-eh-to-x.c +++ b/curve448-eh-to-x.c @@ -61,8 +61,8 @@ curve448_eh_to_x (mp_limb_t *xp, const mp_limb_t *p, mp_limb_t *scratch) */ /* Needs a total of 9*size storage. */ ecc->p.invert (&ecc->p, t0, p, t1 + ecc->p.size); - ecc_modp_mul (ecc, t1, t0, vp); - ecc_modp_mul (ecc, t2, t1, t1); + ecc_mod_mul (&ecc->p, t1, t0, vp); + ecc_mod_mul (&ecc->p, t2, t1, t1); cy = mpn_sub_n (xp, t2, ecc->p.m, ecc->p.size); cnd_copy (cy, xp, t2, ecc->p.size); -- cgit v1.2.1