public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.6.8.1 crypto: tea.c xtea_encrypt should use XTEA_DELTA
@ 2004-09-03 22:34 Thor Kooda
  2004-09-07 20:41 ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Thor Kooda @ 2004-09-03 22:34 UTC (permalink / raw)
  To: Linux Kernel

Patch for crypto/tea.c, added in 2.6.8-rc1:

xtea_encrypt() should use XTEA_DELTA instead of TEA_DELTA.

Signed-off-by: Thor Kooda <tkooda-patch-kernel@devsec.org>

-- 
Thor Kooda
tkooda-patch-kernel@devsec.org


--- linux-2.6.8.1.orig/crypto/tea.c     Sat Aug 14 05:56:25 2004
+++ linux-2.6.8.1/crypto/tea.c  Fri Sep  3 17:34:06 2004
@@ -154,7 +154,7 @@
 
        while (sum != limit) {
                y += (z << 4 ^ z >> 5) + (z ^ sum) + ctx->KEY[sum&3]; 
-               sum += TEA_DELTA;
+               sum += XTEA_DELTA;
                z += (y << 4 ^ y >> 5) + (y ^ sum) + ctx->KEY[sum>>11 &3]; 
        }
        

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] 2.6.8.1 crypto: tea.c xtea_encrypt should use XTEA_DELTA
  2004-09-03 22:34 [PATCH] 2.6.8.1 crypto: tea.c xtea_encrypt should use XTEA_DELTA Thor Kooda
@ 2004-09-07 20:41 ` David S. Miller
  2004-09-07 22:26   ` Thor Kooda
  0 siblings, 1 reply; 4+ messages in thread
From: David S. Miller @ 2004-09-07 20:41 UTC (permalink / raw)
  To: Thor Kooda; +Cc: linux-kernel


Thor, your patches do not apply because your email
client turns tab characters into spaces, please fix
this up.

Thanks.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] 2.6.8.1 crypto: tea.c xtea_encrypt should use XTEA_DELTA
  2004-09-07 20:41 ` David S. Miller
@ 2004-09-07 22:26   ` Thor Kooda
  2004-09-07 22:51     ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Thor Kooda @ 2004-09-07 22:26 UTC (permalink / raw)
  To: David S. Miller; +Cc: linux-kernel

On Tue, 07 Sep 2004, David S. Miller wrote:
> Thor, your patches do not apply because your email
> client turns tab characters into spaces, please fix
> this up.

Fixed.

Signed-off-by: Thor Kooda <tkooda-patch-kernel@devsec.org>

-- 
Thor Kooda
tkooda-patch-kernel@devsec.org


--- linux-2.6.8.1.orig/crypto/tea.c	Sat Aug 14 05:56:25 2004
+++ linux-2.6.8.1/crypto/tea.c	Tue Sep  7 17:22:51 2004
@@ -154,7 +154,7 @@
 
 	while (sum != limit) {
 		y += (z << 4 ^ z >> 5) + (z ^ sum) + ctx->KEY[sum&3]; 
-		sum += TEA_DELTA;
+		sum += XTEA_DELTA;
 		z += (y << 4 ^ y >> 5) + (y ^ sum) + ctx->KEY[sum>>11 &3]; 
 	}
 	


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] 2.6.8.1 crypto: tea.c xtea_encrypt should use XTEA_DELTA
  2004-09-07 22:26   ` Thor Kooda
@ 2004-09-07 22:51     ` David S. Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David S. Miller @ 2004-09-07 22:51 UTC (permalink / raw)
  To: Thor Kooda; +Cc: linux-kernel

On Tue, 7 Sep 2004 17:26:22 -0500
Thor Kooda <tkooda-patch-kernel@devsec.org> wrote:

> On Tue, 07 Sep 2004, David S. Miller wrote:
> > Thor, your patches do not apply because your email
> > client turns tab characters into spaces, please fix
> > this up.
> 
> Fixed.

Thank you, both 2.4.x and 2.6.x patches applied

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-07 22:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-03 22:34 [PATCH] 2.6.8.1 crypto: tea.c xtea_encrypt should use XTEA_DELTA Thor Kooda
2004-09-07 20:41 ` David S. Miller
2004-09-07 22:26   ` Thor Kooda
2004-09-07 22:51     ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox