diff options
author | Werner Koch <wk@gnupg.org> | 2017-05-23 17:28:46 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-05-23 17:29:43 +0200 |
commit | c1bb3d9fdb6fe5f336af1d5a03fc42bfdc1f8b0b (patch) | |
tree | ba52b8ff4fc7156eb3d8d146c55660368bc47fd6 /cipher/rsa.c | |
parent | 4cd94994a9abec9b92fa5972869baf089a28fa76 (diff) | |
download | libgcrypt-c1bb3d9fdb6fe5f336af1d5a03fc42bfdc1f8b0b.tar.gz |
doc: Comment fixes
Diffstat (limited to 'cipher/rsa.c')
-rw-r--r-- | cipher/rsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/rsa.c b/cipher/rsa.c index 895ee04c..7f12ecd6 100644 --- a/cipher/rsa.c +++ b/cipher/rsa.c @@ -306,7 +306,7 @@ generate_std (RSA_secret_key *sk, unsigned int nbits, unsigned long use_e, mpi_add_ui (e, e, 2); } - /* calculate the secret key d = e^1 mod phi */ + /* calculate the secret key d = e^-1 mod phi */ d = mpi_snew ( nbits ); mpi_invm (d, e, f ); /* calculate the inverse of p and q (used for chinese remainder theorem)*/ |