lkml.org 
[lkml]   [2004]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] 2.6.8.1 crypto: tea.c xtea_encrypt should use XTEA_DELTA
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];
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.042 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site