[git] GCRYPT - branch, master, updated. libgcrypt-1.7.3-85-gc1bb3d9

by Werner Koch cvs at cvs.gnupg.org
Tue May 23 17:33:11 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU crypto library".

The branch, master has been updated
       via  c1bb3d9fdb6fe5f336af1d5a03fc42bfdc1f8b0b (commit)
      from  4cd94994a9abec9b92fa5972869baf089a28fa76 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c1bb3d9fdb6fe5f336af1d5a03fc42bfdc1f8b0b
Author: Werner Koch <wk at gnupg.org>
Date:   Tue May 23 17:28:46 2017 +0200

    doc: Comment fixes

diff --git a/cipher/rsa.c b/cipher/rsa.c
index 895ee04..7f12ecd 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)*/
diff --git a/mpi/ec.c b/mpi/ec.c
index 016af00..8a6a656 100644
--- a/mpi/ec.c
+++ b/mpi/ec.c
@@ -1255,7 +1255,12 @@ _gcry_mpi_ec_mul_point (mpi_point_t result,
       || (ctx->model == MPI_EC_WEIERSTRASS
           && mpi_is_secure (scalar)))
     {
-      /* Simple left to right binary method.  GECC Algorithm 3.27 */
+      /* Simple left to right binary method.  Algorithm 3.27 from
+       * {author={Hankerson, Darrel and Menezes, Alfred J. and Vanstone, Scott},
+       *  title = {Guide to Elliptic Curve Cryptography},
+       *  year = {2003}, isbn = {038795273X},
+       *  url = {http://www.cacr.math.uwaterloo.ca/ecc/},
+       *  publisher = {Springer-Verlag New York, Inc.}} */
       unsigned int nbits;
       int j;
 

-----------------------------------------------------------------------

Summary of changes:
 cipher/rsa.c | 2 +-
 mpi/ec.c     | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org


_______________________________________________
Gnupg-commits mailing list
Gnupg-commits at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-commits




More information about the Gcrypt-devel mailing list