diff options
author | Niels Möller <nisse@lysator.liu.se> | 2020-11-03 20:26:34 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-11-03 20:26:34 +0100 |
commit | 4031de2dc0405d6d0218b8c410f92e9f5583b247 (patch) | |
tree | a6e62e25021b1a8c04a456702cf6b692df99cd74 /ecc-mul-a-eh.c | |
parent | 18ac802721587cb0dd40401be1fb03273d1ec42e (diff) | |
download | nettle-4031de2dc0405d6d0218b8c410f92e9f5583b247.tar.gz |
Stricter requirements for in-place ecc_add_func.
Diffstat (limited to 'ecc-mul-a-eh.c')
-rw-r--r-- | ecc-mul-a-eh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecc-mul-a-eh.c b/ecc-mul-a-eh.c index d7765ebf..b0aa2697 100644 --- a/ecc-mul-a-eh.c +++ b/ecc-mul-a-eh.c @@ -167,7 +167,7 @@ ecc_mul_a_eh (const struct ecc_curve *ecc, bits &= TABLE_MASK; sec_tabselect (tp, 3*ecc->p.size, table, TABLE_SIZE, bits); - ecc->add_hhh (ecc, r, tp, r, scratch_out); + ecc->add_hhh (ecc, r, r, tp, scratch_out); } #undef table #undef tp |