[git] GCRYPT - branch, master, updated. libgcrypt-1.5.0-123-g6c942ec

by Werner Koch cvs at cvs.gnupg.org
Thu Apr 18 16:41:10 CEST 2013


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  6c942ec4d63032539f1fc56c3b970cfec2369e2b (commit)
      from  03557687a09b9c8878c77cbfdd0f5049940c72da (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 6c942ec4d63032539f1fc56c3b970cfec2369e2b
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Apr 18 14:40:43 2013 +0200

    cipher: Fix regression in Padlock support.
    
    * cipher/rijndael.c (do_setkey): Remove dummy padlock key generation case
    and use the standard one.
    --
    
    This is really a brown paper bag bug.  I should have been able to
    fix it by a bit of code staring or bi-secting it myself.  Instead
    Rafaël Carré did this and with the donation of a VIA nano board from
    Stefan Krüger.  Thanks to both of you.
    
    (regression since commit b825c5db17292988d261fefdc83cbc43d97d4b02)
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
    (cherry picked from commit f1f016855418aae561ede4472590d45a24ab4476)

diff --git a/THANKS b/THANKS
index 41f4c77..0f47d4f 100644
--- a/THANKS
+++ b/THANKS
@@ -130,6 +130,7 @@ Stephan Müller             smueller at atsec com
 Stephane Corthesy          stephane at sente.ch
 Stefan Karrmann 	   S.Karrmann at gmx.net
 Stefan Keller		   dres at cs.tu-berlin.de
+Stefan Krüger              stadtkind2 at gmx de
 Steffen Ullrich 	   ccrlphr at xensei.com
 Steffen Zahn		   zahn at berlin.snafu.de
 Steven Bakker		   steven at icoe.att.com
diff --git a/cipher/rijndael.c b/cipher/rijndael.c
index a3080f5..8d4036b 100644
--- a/cipher/rijndael.c
+++ b/cipher/rijndael.c
@@ -285,15 +285,10 @@ do_setkey (RIJNDAEL_context *ctx, const byte *key, const unsigned keylen)
 
   ctx->rounds = rounds;
 
+  /* NB: We don't yet support Padlock hardware key generation.  */
+
   if (0)
     ;
-#ifdef USE_PADLOCK
-  else if (ctx->use_padlock)
-    {
-      /* Nothing to do as we support only hardware key generation for
-         now.  */
-    }
-#endif /*USE_PADLOCK*/
 #ifdef USE_AESNI_is_disabled_here
   else if (ctx->use_aesni && ctx->rounds == 10)
     {

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

Summary of changes:
 THANKS            |    1 +
 cipher/rijndael.c |    9 ++-------
 2 files changed, 3 insertions(+), 7 deletions(-)


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




More information about the Gnupg-commits mailing list