summaryrefslogtreecommitdiff
path: root/dsa-sign.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2003-03-11 16:21:24 +0100
committerNiels Möller <nisse@lysator.liu.se>2003-03-11 16:21:24 +0100
commit978fcedcc3617f3498e392d9e786e22f2c77299e (patch)
treed4f000c032c7df3c3a96a0c51e04c12923967671 /dsa-sign.c
parent00df073c60062accaaab957114de71de8946a928 (diff)
downloadnettle-978fcedcc3617f3498e392d9e786e22f2c77299e.tar.gz
Comment fixes.
Rev: src/nettle/dsa-keygen.c:1.5 Rev: src/nettle/dsa-sign.c:1.6
Diffstat (limited to 'dsa-sign.c')
-rw-r--r--dsa-sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsa-sign.c b/dsa-sign.c
index ab5adb0b..605a8ca0 100644
--- a/dsa-sign.c
+++ b/dsa-sign.c
@@ -68,7 +68,7 @@ dsa_sign_digest(const struct dsa_public_key *pub,
/* What do we do now? The key is invalid. */
abort();
- /* Compute signature s = k^-1(h + xr) (mod q) */
+ /* Compute signature s = k^-1 (h + xr) (mod q) */
mpz_mul(tmp, signature->r, key->x);
mpz_fdiv_r(tmp, tmp, pub->q);
mpz_add(tmp, tmp, h);