diff options
author | Niels Möller <nisse@lysator.liu.se> | 2022-10-11 20:27:39 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2022-10-11 20:27:39 +0200 |
commit | 6ff0510478d428f317dbb3cf62d2358be3321ffe (patch) | |
tree | 2ad5b92e692845edd3d7272d31cb8071601dd9a4 /ecc-mul-a-eh.c | |
parent | 76bd07fb0b2f6cbd1c649b4dd8b449090a566cca (diff) | |
download | nettle-6ff0510478d428f317dbb3cf62d2358be3321ffe.tar.gz |
Delete sec_tabselect, use gmp's mpn_sec_tabselect instead.
Diffstat (limited to 'ecc-mul-a-eh.c')
-rw-r--r-- | ecc-mul-a-eh.c | 4 |
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 |