[git] GCRYPT - branch, LIBGCRYPT-1-7-BRANCH, updated. libgcrypt-1.7.6-4-gaf0d7ee
by Werner Koch
cvs at cvs.gnupg.org
Tue May 30 15:42:40 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, LIBGCRYPT-1-7-BRANCH has been updated
via af0d7eeac09e1a240615d4c8ea2a245f211df650 (commit)
via 7a339b1fc94cbda738cf7712830e783faa0e325e (commit)
via 992f3b37359646f8b9c9b006e9dc6190e4b5c760 (commit)
from 3d86d5b1881295f82c852daedea24bc43abd449b (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 af0d7eeac09e1a240615d4c8ea2a245f211df650
Author: Werner Koch <wk at gnupg.org>
Date: Tue May 30 15:27:47 2017 +0200
mpi: Distribute asm files for aarch64 and asm
* mpi/aarch64/distfiles: New.
* mpi/arm/distfiles: New.
Signed-off-by: Werner Koch <wk at gnupg.org>
diff --git a/mpi/aarch64/distfiles b/mpi/aarch64/distfiles
new file mode 100644
index 0000000..1327bd4
--- /dev/null
+++ b/mpi/aarch64/distfiles
@@ -0,0 +1,6 @@
+mpih-add1.S
+mpih-mul1.S
+mpih-mul2.S
+mpih-mul3.S
+mpih-sub1.S
+mpi-asm-defs.h
diff --git a/mpi/arm/distfiles b/mpi/arm/distfiles
new file mode 100644
index 0000000..27a2ca5
--- /dev/null
+++ b/mpi/arm/distfiles
@@ -0,0 +1,6 @@
+mpi-asm-defs.h
+mpih-add1.S
+mpih-mul1.S
+mpih-mul2.S
+mpih-mul3.S
+mpih-sub1.S
commit 7a339b1fc94cbda738cf7712830e783faa0e325e
Author: Werner Koch <wk at gnupg.org>
Date: Tue May 30 15:23:45 2017 +0200
mpi: Distribute asm definitions for amd64
* mpi/amd64/distfiles: Add mpi-asm-defs.h.
--
The problem exhibits itself only on Windows64 where
sizeof(long) == sizeof(int).
For other platforms the definition from
generic/mpi-asm-defs.h works also for amd64.
GnuPG-bug-id: 3184
Signed-off-by: Werner Koch <wk at gnupg.org>
diff --git a/mpi/amd64/distfiles b/mpi/amd64/distfiles
index e7f92c8..44aad5f 100644
--- a/mpi/amd64/distfiles
+++ b/mpi/amd64/distfiles
@@ -6,3 +6,4 @@ mpih-mul2.S
mpih-mul3.S
mpih-rshift.S
mpih-sub1.S
+mpi-asm-defs.h
commit 992f3b37359646f8b9c9b006e9dc6190e4b5c760
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 b6c7374..2e13fd6 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 26dd947..3ac0547 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/{pentium4/sse2 => aarch64}/distfiles | 1 +
mpi/amd64/distfiles | 1 +
mpi/{pentium4/sse2 => arm}/distfiles | 1 +
mpi/ec.c | 7 ++++++-
5 files changed, 10 insertions(+), 2 deletions(-)
copy mpi/{pentium4/sse2 => aarch64}/distfiles (80%)
copy mpi/{pentium4/sse2 => arm}/distfiles (80%)
hooks/post-receive
--
The GNU crypto library
http://git.gnupg.org
More information about the Gnupg-commits
mailing list