Mercurial > dropbear
diff ecdsa.c @ 1256:506f7681d0f8 coverity
merge up to date
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 15 Mar 2016 22:45:43 +0800 |
parents | 2bb4c662d1c2 |
children | 750ec4ec4cbe |
line wrap: on
line diff
--- a/ecdsa.c Tue Dec 15 22:24:34 2015 +0800 +++ b/ecdsa.c Tue Mar 15 22:45:43 2016 +0800 @@ -385,12 +385,12 @@ goto out; } - /* reduce */ + /* reduce */ if (ltc_mp.ecc_map(mG, m, mp) != CRYPT_OK) { goto out; } } else { - /* use Shamir's trick to compute u1*mG + u2*mQ using half of the doubles */ + /* use Shamir's trick to compute u1*mG + u2*mQ using half of the doubles */ if (ltc_mp.ecc_mul2add(mG, u1, mQ, u2, mG, m) != CRYPT_OK) { goto out; }