diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-07-16 13:59:44 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2015-07-16 13:59:44 +0900 |
commit | 9cd55e8e948f0049cb23495f536decf797d072f7 (patch) | |
tree | d11d6757783c04de0dafe973acf1d605d05c8681 /cipher/rsa.c | |
parent | 0f9532b186c1e0b54d7e7a6d76bce82b6226122b (diff) | |
download | libgcrypt-9cd55e8e948f0049cb23495f536decf797d072f7.tar.gz |
rsa: Fix error in comments.
* cipher/rsa.c: Fix.
--
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
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 9a8d235b..e4f73d5a 100644 --- a/cipher/rsa.c +++ b/cipher/rsa.c @@ -738,7 +738,7 @@ secret (gcry_mpi_t output, gcry_mpi_t input, RSA_secret_key *skey ) if ( mpi_has_sign ( h ) ) mpi_add ( h, h, skey->q ); mpi_mulm( h, skey->u, h, skey->q ); - /* m = m2 + h * p */ + /* m = m1 + h * p */ mpi_mul ( h, h, skey->p ); mpi_add ( output, m1, h ); |