by Werner Koch | 27 Jun 17:26 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.7.1-9-g4d634a0

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  4d634a098742ff425b324e9f2a67b9f62de09744 (commit)
       via  ae26edf4b60359bfa5fe3a27b2c24b336e7ec35c (commit)
      from  7a7f7c147f888367dfee6093d26bfeaf750efc3a (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 4d634a098742ff425b324e9f2a67b9f62de09744
Author: Werner Koch <wk <at> gnupg.org>
Date:   Mon Jun 27 17:22:18 2016 +0200

    tests: Do not test SHAKE128 et al with gcry_md_hash_buffer.

    * tests/benchmark.c (md_bench): Do not test variable lengths algos
    with the gcry_md_hash_buffer.

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

diff --git a/tests/benchmark.c b/tests/benchmark.c
index 53b83b1..d387c56 100644
--- a/tests/benchmark.c
+++ b/tests/benchmark.c
 <at>  <at>  -572,21 +572,24  <at>  <at>  md_bench ( const char *algoname )
(Continue reading)

by Werner Koch | 25 Jun 20:54 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.7.1-7-g7a7f7c1

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  7a7f7c147f888367dfee6093d26bfeaf750efc3a (commit)
      from  1feb01940062a74c27230434fc3babdddca8caf4 (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 7a7f7c147f888367dfee6093d26bfeaf750efc3a
Author: Werner Koch <wk <at> gnupg.org>
Date:   Sat Jun 25 20:52:47 2016 +0200

    ecc: Fix memory leak.

    * cipher/ecc.c (ecc_check_secret_key): Do not init point if already
    set.

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

diff --git a/cipher/ecc.c b/cipher/ecc.c
index 8af0d14..e25bf09 100644
--- a/cipher/ecc.c
+++ b/cipher/ecc.c
 <at>  <at>  -790,7 +790,8  <at>  <at>  ecc_check_secret_key (gcry_sexp_t keyparms)
     }
(Continue reading)

by Werner Koch | 25 Jun 16:12 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.7.1-6-g1feb019

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  1feb01940062a74c27230434fc3babdddca8caf4 (commit)
       via  c870cb5d385c1d6e1e28ca481cf9cf44b3bfeea9 (commit)
      from  5a5b055b81ee60a22a846bdf2031516b1c24df98 (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 1feb01940062a74c27230434fc3babdddca8caf4
Author: Werner Koch <wk <at> gnupg.org>
Date:   Sat Jun 25 16:07:16 2016 +0200

    doc: Update yat2m.

    * doc/yat2m.c: Update from Libgpg-error
    --

    Taken from Libgpg-error
    commit 9b5e3d1608922f4aaf9958e022431849d5a58501

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

diff --git a/doc/yat2m.c b/doc/yat2m.c
index 86c3c70..7599081 100644
(Continue reading)

by Werner Koch | 25 Jun 15:40 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.7.1-4-g5a5b055

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  5a5b055b81ee60a22a846bdf2031516b1c24df98 (commit)
       via  3f98b1e92d5afd720d7cea5b4e8295c5018bf9ac (commit)
      from  0f3a069211d8d24a61aa0dc2cc6c4ef04cc4fab7 (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 5a5b055b81ee60a22a846bdf2031516b1c24df98
Author: Werner Koch <wk <at> gnupg.org>
Date:   Sat Jun 25 15:38:06 2016 +0200

    Improve robustness and help lint.

    * cipher/rsa.c (rsa_encrypt): Check for !DATA.
    * cipher/md.c (search_oid): Check early for !OID.
    (md_copy): Use gpg_err_code_from_syserror.  Replace chains of if(!err)
    tests.
    * cipher/cipher.c (search_oid): Check early for !OID.
    * src/misc.c (do_printhex): Allow for BUFFER==NULL even with LENGTH>0.
    * mpi/mpicoder.c (onecompl): Allow for A==NULL to help static
    analyzers.
    --

(Continue reading)

Markus Teich | 22 Jun 23:01 2016
Picon

aliasing problem in gcry_mpi_ec_mul()

Heyho,

I noticed an undocumented inconsistency with the low level ECC functions. This
happens for Edwards Curve computations. When giving the mul function the same
point twice, once as output and once as input, the computation fails, because
the result-> coordinates are set to the zero point and therefore the input is
lost in the beginning of _gcry_mpi_ec_mul_point(). The expected behavior for the
following call would be to multiply P by s and update P to hold the result:

gcry_mpi_ec_mul(P, s, P, ctx);

At least for addition it works this way and I can happily add P to itself and
store it within P again in the same call:

gcry_mpi_ec_add(P, P, P, ctx);

Christian mentioned this problem class is called "aliasing". I don't know if any
other functions are affected by this problem and found no obvious fix for the
mul function. If this discrepancy is intended it should be documented at least.
Also the documentation on https://www.gnupg.org/documentation/manuals/gcrypt/ is
out of date and should be updated.

--Markus
Stef Bon | 21 Jun 19:19 2016
Picon

Use of chacha20 with poly135.

Hi,

I'm working on a fuse fs for sftp. It's not ready yet, and first I
want it to make it work
with "simple" ciphers as AES and 3DES.

Does libgrypt support the combination of a cipher and mac like
chacha20 and poly135?
I see calls like gcry_cipher_gettag and gcry_cipher_authenticate.

Stef
Markus Teich | 20 Jun 01:02 2016
Picon

best way to copy a gcry_mpi_point_t?

Heyho,

since I only see gcry_mpi_copy, but no gcry_mpi_point_copy, what would be the
most efficient way to copy a point? Using something like the following seems
confusing:

gcry_mpi_ec_mul(new, GCRYMPI_CONST_ONE, old, ctx);

--Markus
by Niibe Yutaka | 16 Jun 04:02 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.7.1-2-g0f3a069

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  0f3a069211d8d24a61aa0dc2cc6c4ef04cc4fab7 (commit)
      from  fa917d2e24b0c98143a079ab4889ad8f69bee446 (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 0f3a069211d8d24a61aa0dc2cc6c4ef04cc4fab7
Author: Niibe Yutaka <gniibe <at> fsij.org>
Date:   Thu Jun 16 10:56:28 2016 +0900

    ecc: Default cofactor 1 for PUBKEY_FLAG_PARAM.

    * cipher/ecc.c (ecc_check_secret_key, ecc_sign, ecc_verify)
    (ecc_encrypt_raw, ecc_decrypt_raw, compute_keygrip): Set default
    cofactor as 1, when not specified.

    --

    GnuPG-bug-id: 2347
    Signed-off-by: NIIBE Yutaka <gniibe <at> fsij.org>

diff --git a/cipher/ecc.c b/cipher/ecc.c
index b09902e..8af0d14 100644
(Continue reading)

by Werner Koch | 15 Jun 09:56 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.7.0-23-gfa917d2

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  fa917d2e24b0c98143a079ab4889ad8f69bee446 (commit)
       via  48aa6d6602564d6ba0cef10cf08f9fb0c59b3223 (commit)
       via  33b6637a56231f66792fb66ff30a0c4145bfac68 (commit)
       via  6cc2100c00a65dff07b095dea7b32cb5c5cd96d4 (commit)
       via  1f769e3e8442bae2f1f73c656920bb2df70153c0 (commit)
       via  52cdfb1960808aaad48b5a501bbce0e3141c3961 (commit)
       via  b766ea14ad1c27d6160531b200cc70aaa479c6dc (commit)
       via  dc76313308c184c92eb78452b503405b90fc7ebd (commit)
       via  bd39eb9fba47dc8500c83769a679cc8b683d6c6e (commit)
       via  c05837211e5221d3f56146865e823bc20b4ff1ab (commit)
       via  caa9d14c914bf6116ec3f773a322a94e2be0c0fb (commit)
      from  c3173bbe3f1a9c73f81a538dd49ccfa0447bfcdc (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 -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 NEWS         | 24 +++++++++++++++++++++++-
 README       |  4 ++++
 configure.ac |  4 ++--
 3 files changed, 29 insertions(+), 3 deletions(-)
(Continue reading)

by Werner Koch | 15 Jun 09:20 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.7.0-12-gc3173bb

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  c3173bbe3f1a9c73f81a538dd49ccfa0447bfcdc (commit)
       via  131b4f0634cee0e5c47d2250c59f51127b10f7b3 (commit)
      from  e13a6a1ba53127af602713d0c2aaa85c94b3cd7e (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 c3173bbe3f1a9c73f81a538dd49ccfa0447bfcdc
Author: Werner Koch <wk <at> gnupg.org>
Date:   Wed Jun 15 09:18:31 2016 +0200

    doc: Describe envvars.

    * doc/gcrypt.texi: Add chapter Configuration.

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

diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi
index 0171cd6..c2c39ad 100644
--- a/doc/gcrypt.texi
+++ b/doc/gcrypt.texi
 <at>  <at>  -14,7 +14,7  <at>  <at>  which is GNU's library of cryptographic building blocks.

(Continue reading)

by Werner Koch | 14 Jun 15:55 2016
Picon

[git] GCRYPT - branch, master, updated. libgcrypt-1.7.0-10-ge13a6a1

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  e13a6a1ba53127af602713d0c2aaa85c94b3cd7e (commit)
      from  ef6e4d004b10f5740bcd2125fb70e199dd21e3e8 (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 e13a6a1ba53127af602713d0c2aaa85c94b3cd7e
Author: Werner Koch <wk <at> gnupg.org>
Date:   Tue Jun 14 15:53:10 2016 +0200

    cipher: Assign OIDs to the Serpent cipher.

    * cipher/serpent.c (serpent128_oids, serpent192_oids)
    (serpent256_oids): New. Add them to the specs blow.
    (serpent128_aliases): Add "SERPENT-128".
    (serpent256_aliases, serpent192_aliases): New.

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

diff --git a/cipher/serpent.c b/cipher/serpent.c
index 4ef7f52..ef19d3b 100644
--- a/cipher/serpent.c
+++ b/cipher/serpent.c
(Continue reading)


Gmane