diff options
author | Niels Möller <nisse@lysator.liu.se> | 2013-02-27 16:20:42 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2013-02-27 16:20:42 +0100 |
commit | c36a8dee0b8d37813377a9b35b800fe027c0287b (patch) | |
tree | addc17cdf3297aac70d89f174fa77b2ee8259ecb /ecc-192.c | |
parent | a3888205d9b599cc030f9a4b929e5273b32b53dd (diff) | |
download | nettle-c36a8dee0b8d37813377a9b35b800fe027c0287b.tar.gz |
Fixed 32-bit ecc_192_modp.
Diffstat (limited to 'ecc-192.c')
-rw-r--r-- | ecc-192.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -66,7 +66,7 @@ ecc_192_modp (const struct ecc_curve *ecc UNUSED, mp_limb_t *rp) cy = sec_add_1 (rp + 5, rp + 5, 1, cy); assert (cy <= 1); - cy = cnd_add_n (cy, rp, ecc_Bmodp, 3); + cy = cnd_add_n (cy, rp, ecc_Bmodp, 6); assert (cy == 0); } #elif GMP_NUMB_BITS == 64 |