diff options
author | Niels Möller <nisse@lysator.liu.se> | 2003-03-11 16:21:24 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2003-03-11 16:21:24 +0100 |
commit | 978fcedcc3617f3498e392d9e786e22f2c77299e (patch) | |
tree | d4f000c032c7df3c3a96a0c51e04c12923967671 /dsa-sign.c | |
parent | 00df073c60062accaaab957114de71de8946a928 (diff) | |
download | nettle-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |