by NIIBE Yutaka | 9 Feb 10:58 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-314-g4a19b19

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  4a19b195697e0b6534d28de9401ae3e9d86adb42 (commit)
      from  23b72901f8a5ba9a78485b235c7a917fbc8faae0 (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 4a19b195697e0b6534d28de9401ae3e9d86adb42
Author: NIIBE Yutaka <gniibe <at> fsij.org>
Date:   Tue Feb 9 18:50:47 2016 +0900

    doc: about commit 23b72901f8a5ba9a78485b235c7a917fbc8faae0

    --

    Signed-off-by: NIIBE Yutaka <gniibe <at> fsij.org>

    Together with 88e1358962e902ff1cbec8d53ba3eee46407851a, it
    could be an effective contermeasure to some chosen cipher
    text attacks.

    CVE-id: CVE-2015-7511

    Thanks to Daniel Genkin, Lev Pachmanov, Itamar Pipman, and Eran
(Continue reading)

by NIIBE Yutaka | 9 Feb 10:26 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-313-g23b7290

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  23b72901f8a5ba9a78485b235c7a917fbc8faae0 (commit)
      from  8353884bc65c820d5bcacaf1ac23cdee72091a09 (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 23b72901f8a5ba9a78485b235c7a917fbc8faae0
Author: NIIBE Yutaka <gniibe <at> fsij.org>
Date:   Wed Nov 25 08:41:41 2015 +0900

    ecc: input validation on ECDH.

    * cipher/ecc.c (ecc_decrypt_raw): Validate the point.

    --

    Signed-off-by: NIIBE Yutaka <gniibe <at> fsij.org>

    (forward port from LIBGCRYPT-1-6-BRANCH
     commit 28eb424e4427b320ec1c9c4ce56af25d495230bd)

diff --git a/cipher/ecc.c b/cipher/ecc.c
index 7d6ad94..b861925 100644
(Continue reading)

by Jussi Kivilinna | 8 Feb 19:16 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-312-g8353884

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  8353884bc65c820d5bcacaf1ac23cdee72091a09 (commit)
      from  b8b3361504950689ef1e779fb3357cecf8a9f739 (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 8353884bc65c820d5bcacaf1ac23cdee72091a09
Author: Jussi Kivilinna <jussi.kivilinna <at> iki.fi>
Date:   Mon Feb 8 20:13:38 2016 +0200

    Add ARM assembly implementation of SHA-512

    * cipher/Makefile.am: Add 'sha512-arm.S'.
    * cipher/sha512-arm.S: New.
    * cipher/sha512.c (USE_ARM_ASM): New.
    (_gcry_sha512_transform_arm): New.
    (transform) [USE_ARM_ASM]: Use ARM assembly implementation instead of
    generic.
    * configure.ac: Add 'sha512-arm.lo'.
    --

    Benchmark on Cortex-A8 (armv6, 1008 Mhz):

(Continue reading)

by NIIBE Yutaka | 3 Feb 04:28 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-311-gb8b3361

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  b8b3361504950689ef1e779fb3357cecf8a9f739 (commit)
      from  6cb6df9dddac6ad246002b83c2ce0aaa0ecf30e5 (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 b8b3361504950689ef1e779fb3357cecf8a9f739
Author: NIIBE Yutaka <gniibe <at> fsij.org>
Date:   Wed Feb 3 12:24:46 2016 +0900

    tests: Add a test for Curve25519.

    * tests/Makefile.am (tests_bin): Add t-cv25519.
    * tests/t-cv25519.c: New.

    --

    Signed-off-by: NIIBE Yutaka <gniibe <at> fsij.org>

diff --git a/tests/Makefile.am b/tests/Makefile.am
index a5c10dd..d462f30 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
(Continue reading)

by NIIBE Yutaka | 2 Feb 13:17 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-310-g6cb6df9

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  6cb6df9dddac6ad246002b83c2ce0aaa0ecf30e5 (commit)
      from  48ba5a50066611ecacea850ced13f5cb66097a81 (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 6cb6df9dddac6ad246002b83c2ce0aaa0ecf30e5
Author: NIIBE Yutaka <gniibe <at> fsij.org>
Date:   Tue Feb 2 20:58:04 2016 +0900

    ecc: Fix Curve25519 for data by older implementation.

    * cipher/ecc-misc.c (gcry_ecc_mont_decodepoint): Fix code path for
    short length data.

    --

    Signed-off-by: NIIBE Yutaka <gniibe <at> fsij.org>

diff --git a/cipher/ecc-misc.c b/cipher/ecc-misc.c
index e0dfec3..8f7b8c4 100644
--- a/cipher/ecc-misc.c
+++ b/cipher/ecc-misc.c
(Continue reading)

by NIIBE Yutaka | 2 Feb 09:33 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-309-g48ba5a5

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  48ba5a50066611ecacea850ced13f5cb66097a81 (commit)
      from  a2f9afcd7fcdafd5951498b07f34957f9766dce9 (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 48ba5a50066611ecacea850ced13f5cb66097a81
Author: NIIBE Yutaka <gniibe <at> fsij.org>
Date:   Tue Feb 2 17:24:10 2016 +0900

    ecc: more fix of Curve25519.

    * cipher/ecc-misc.c (gcry_ecc_mont_decodepoint): Fix removing of
    prefix.  Clear the MSB, according to RFC7748.

    --

    This change fixes two things.

    * Handle the case the prefix 0x40 comes at the end when scanned as
      standard MPI.

    * Implement MSB handling.  In the page 7 of RFC7748, it says about
(Continue reading)

by NIIBE Yutaka | 2 Feb 06:07 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-308-ga2f9afc

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  a2f9afcd7fcdafd5951498b07f34957f9766dce9 (commit)
      from  57b60bb1718b4f2c2500bb447ebd1d4562a5aa9b (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 a2f9afcd7fcdafd5951498b07f34957f9766dce9
Author: NIIBE Yutaka <gniibe <at> fsij.org>
Date:   Tue Feb 2 13:58:48 2016 +0900

    ecc: Fix ECDH of Curve25519.

    * cipher/ecc-misc.c (_gcry_ecc_mont_decodepoint): Fix calc of NBITS
    and prefix detection.
    * cipher/ecc.c (ecc_generate): Use NBITS instead of CTX->NBITS.
    (ecc_encrypt_raw): Use NBITS from curve instead of from P.
    Fix rawmpilen calculation.
    (ecc_decrypt_raw): Likewise.  Add debug output.
    --

    This fixes the commit dd3d06e7.  NBITS is defined 256 in ecc-curves.c,
    thus, ecc_get_nbits returns 256.  But CTX->NBITS has 255 for Montgomery
    curve.
(Continue reading)

Jussi Kivilinna | 31 Jan 00:11 2016
Picon
Picon
Gravatar

[PATCH] Add ARM assembly implementation of SHA-512

* cipher/Makefile.am: Add 'sha512-arm.S'.
* cipher/sha512-arm.S: New.
* cipher/sha512.c (USE_ARM_ASM): New.
(_gcry_sha512_transform_arm): New.
(transform) [USE_ARM_ASM]: Use ARM assembly implementation instead of
generic.
* configure.ac: Add 'sha512-arm.lo'.
--

Benchmark on Cortex-A8 (armv6, 1008 Mhz):

 Before:
                 |  nanosecs/byte   mebibytes/sec   cycles/byte
  SHA512         |     112.0 ns/B      8.52 MiB/s     112.9 c/B

 After (3.3x faster):
                 |  nanosecs/byte   mebibytes/sec   cycles/byte
  SHA512         |     34.01 ns/B     28.04 MiB/s     34.28 c/B

Signed-off-by: Jussi Kivilinna <jussi.kivilinna <at> iki.fi>
---
 cipher/Makefile.am  |    2 
 cipher/sha512-arm.S |  465 +++++++++++++++++++++++++++++++++++++++++++++++++++
 cipher/sha512.c     |   82 +++++----
 configure.ac        |    4 
 4 files changed, 520 insertions(+), 33 deletions(-)
 create mode 100644 cipher/sha512-arm.S

diff --git a/cipher/Makefile.am b/cipher/Makefile.am
index 88c8fbf..65d7afb 100644
(Continue reading)

by Jussi Kivilinna | 29 Jan 17:04 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-307-g57b60bb

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  57b60bb1718b4f2c2500bb447ebd1d4562a5aa9b (commit)
       via  f3e51161036382429c3491c7c881f36c0a653c7b (commit)
      from  5d41e1a1216c4b341bc737d7fe91438676a5c361 (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 57b60bb1718b4f2c2500bb447ebd1d4562a5aa9b
Author: Jussi Kivilinna <jussi.kivilinna <at> iki.fi>
Date:   Fri Jan 29 17:42:41 2016 +0200

    Update 'Interface changes' in NEWS

    --

    Signed-off-by: Jussi Kivilinna <jussi.kivilinna <at> iki.fi>

diff --git a/NEWS b/NEWS
index e4e4882..0064bbe 100644
--- a/NEWS
+++ b/NEWS
 <at>  <at>  -48,8 +48,25  <at>  <at>  Noteworthy changes in version 1.7.0 (unreleased)
  GCRYCTL_SET_SBOX                NEW.
(Continue reading)

by Jussi Kivilinna | 29 Jan 10:04 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-305-g5d41e1a

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  5d41e1a1216c4b341bc737d7fe91438676a5c361 (commit)
      from  79fe55c36996627a4856e2af280c1bf98f66f170 (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 5d41e1a1216c4b341bc737d7fe91438676a5c361
Author: Jussi Kivilinna <jussi.kivilinna <at> iki.fi>
Date:   Thu Jan 28 19:07:50 2016 +0200

    Update NEWS

    --

    Signed-off-by: Jussi Kivilinna <jussi.kivilinna <at> iki.fi>

diff --git a/NEWS b/NEWS
index 79d1931..e4e4882 100644
--- a/NEWS
+++ b/NEWS
 <at>  <at>  -23,6 +23,18  <at>  <at>  Noteworthy changes in version 1.7.0 (unreleased)

  * Added OCB mode.
(Continue reading)

by Werner Koch | 28 Jan 18:21 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-304-g79fe55c

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  79fe55c36996627a4856e2af280c1bf98f66f170 (commit)
      from  2cf2ca7bb9741ac86e8aa92d8f03b1c5f5938897 (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 79fe55c36996627a4856e2af280c1bf98f66f170
Author: Werner Koch <wk <at> gnupg.org>
Date:   Thu Jan 28 18:16:22 2016 +0100

    doc: Fix typos in gcry_mpi_ec_new.

    --
    Reported-by: Hanno Böck <hanno <at> hboeck.de>

    Signed-off-by: Werner Koch <wk <at> gnupg.org>

diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi
index bbaaac6..23b1f79 100644
--- a/doc/gcrypt.texi
+++ b/doc/gcrypt.texi
 <at>  <at>  -4805,7 +4805,7  <at>  <at>  newly allocated point object.
  <at> end deftypefun
(Continue reading)


Gmane