summaryrefslogtreecommitdiff
path: root/ecc-mul-a-eh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ecc-mul-a-eh.c')
-rw-r--r--ecc-mul-a-eh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecc-mul-a-eh.c b/ecc-mul-a-eh.c
index 1eb3efcc..980fec3f 100644
--- a/ecc-mul-a-eh.c
+++ b/ecc-mul-a-eh.c
@@ -140,7 +140,7 @@ ecc_mul_a_eh (const struct ecc_curve *ecc,
assert (bits < TABLE_SIZE);
- sec_tabselect (r, 3*ecc->p.size, table, TABLE_SIZE, bits);
+ mpn_sec_tabselect (r, table, 3*ecc->p.size, TABLE_SIZE, bits);
for (;;)
{
@@ -166,7 +166,7 @@ ecc_mul_a_eh (const struct ecc_curve *ecc,
ecc->dup (ecc, r, r, scratch_out);
bits &= TABLE_MASK;
- sec_tabselect (tp, 3*ecc->p.size, table, TABLE_SIZE, bits);
+ mpn_sec_tabselect (tp, table, 3*ecc->p.size, TABLE_SIZE, bits);
ecc->add_hhh (ecc, r, r, tp, scratch_out);
}
#undef table