summaryrefslogtreecommitdiffhomepage
path: root/ecdsa.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-03-15 21:41:06 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-03-15 21:41:06 +0800
commit645b2541732cebbccd499c4e8bf18f86d77bff0f (patch)
tree3e6f647d212466933d744e47dcdbcf97ff00ecfc /ecdsa.c
parentfdc61f3ab2c07f3f8d0546ee83b1a6776cc1786e (diff)
parent9bda22e70219c3056c07837803d0289b76453adb (diff)
Merge branch '20151231_indent' of https://github.com/fperrad/dropbear into fperrad-20151231_indent
Diffstat (limited to 'ecdsa.c')
-rw-r--r--ecdsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecdsa.c b/ecdsa.c
index 5568131..14558b6 100644
--- a/ecdsa.c
+++ b/ecdsa.c
@@ -385,12 +385,12 @@ int buf_ecdsa_verify(buffer *buf, ecc_key *key, buffer *data_buf) {
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;
}