From 6d455c6d3c6a7011fb51f38bb9423a7aff34f00b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Wed, 18 Dec 2019 08:15:55 +0100 Subject: Use function pointer rather than calling ecc_add_eh directly. * eddsa-verify.c (_eddsa_verify): Use function pointer rather than calling ecc_add_eh directly. Preparation for eddsa over curve448. --- eddsa-verify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eddsa-verify.c') diff --git a/eddsa-verify.c b/eddsa-verify.c index 7718a126..8a623562 100644 --- a/eddsa-verify.c +++ b/eddsa-verify.c @@ -114,7 +114,7 @@ _eddsa_verify (const struct ecc_curve *ecc, /* Compute h A + R - s G, which should be the neutral point */ ecc->mul (ecc, P, hp, A, scratch_out); - ecc_add_eh (ecc, P, P, R, scratch_out); + ecc->add_hh (ecc, P, P, R, scratch_out); /* Move out of the way. */ mpn_copyi (hp, sp, ecc->q.size); ecc->mul_g (ecc, S, hp, scratch_out); -- cgit v1.2.1