[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-255-g65639ec

by Werner Koch cvs at cvs.gnupg.org
Wed Aug 19 12:46:16 CEST 2015


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  65639ecaaeba642e40487446c40d045482001285 (commit)
      from  48822ae0b436bcea0fe92dbf0d88475ba3179320 (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 65639ecaaeba642e40487446c40d045482001285
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Aug 19 12:43:43 2015 +0200

    Change SHA-3 algorithm ids
    
    * src/gcrypt.h.in (GCRY_MD_SHA3_224, GCRY_MD_SHA3_256)
    (GCRY_MD_SHA3_384, GCRY_MD_SHA3_512): Change values.
    --
    
    By using algorithm ids outside of the RFC-4880 range we make debugging
    of GnuPG easier.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/src/gcrypt.h.in b/src/gcrypt.h.in
index 4b4646b..884034c 100644
--- a/src/gcrypt.h.in
+++ b/src/gcrypt.h.in
@@ -1144,7 +1144,7 @@ gcry_error_t gcry_pubkey_get_sexp (gcry_sexp_t *r_sexp,
  ************************************/
 
 /* Algorithm IDs for the hash functions we know about. Not all of them
-   are implemnted. */
+   are implemented. */
 enum gcry_md_algos
   {
     GCRY_MD_NONE    = 0,
@@ -1158,10 +1158,6 @@ enum gcry_md_algos
     GCRY_MD_SHA384  = 9,
     GCRY_MD_SHA512  = 10,
     GCRY_MD_SHA224  = 11,
-    GCRY_MD_SHA3_224= 12,
-    GCRY_MD_SHA3_256= 13,
-    GCRY_MD_SHA3_384= 14,
-    GCRY_MD_SHA3_512= 15,
 
     GCRY_MD_MD4           = 301,
     GCRY_MD_CRC32         = 302,
@@ -1173,7 +1169,11 @@ enum gcry_md_algos
     GCRY_MD_GOSTR3411_94  = 308, /* GOST R 34.11-94.  */
     GCRY_MD_STRIBOG256    = 309, /* GOST R 34.11-2012, 256 bit.  */
     GCRY_MD_STRIBOG512    = 310, /* GOST R 34.11-2012, 512 bit.  */
-    GCRY_MD_GOSTR3411_CP  = 311  /* GOST R 34.11-94 with CryptoPro-A S-Box.  */
+    GCRY_MD_GOSTR3411_CP  = 311,  /* GOST R 34.11-94 with CryptoPro-A S-Box.  */
+    GCRY_MD_SHA3_224      = 312,
+    GCRY_MD_SHA3_256      = 313,
+    GCRY_MD_SHA3_384      = 314,
+    GCRY_MD_SHA3_512      = 315
   };
 
 /* Flags used with the open function.  */

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

Summary of changes:
 src/gcrypt.h.in | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)


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




More information about the Gnupg-commits mailing list