public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Thor Kooda <tkooda-patch-kernel@devsec.org>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] 2.4.27 crypto: tea.c xtea_encrypt should use XTEA_DELTA
Date: Tue, 7 Sep 2004 17:31:06 -0500	[thread overview]
Message-ID: <20040907223106.GB15730@rock> (raw)
In-Reply-To: <20040903222936.GC18362@rock>

On Fri, 03 Sep 2004, Thor Kooda wrote:
> Patch for crypto/tea.c, added in 2.4.27-rc4:
> 
> xtea_encrypt() should use XTEA_DELTA instead of TEA_DELTA.

Fixed tab mangling.

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

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


--- linux-2.4.27.orig/crypto/tea.c	Sat Aug  7 18:26:04 2004
+++ linux-2.4.27/crypto/tea.c	Tue Sep  7 17:15:58 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]; 
 	}
 	

      reply	other threads:[~2004-09-07 22:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-03 22:29 [PATCH] 2.4.27 crypto: tea.c xtea_encrypt should use XTEA_DELTA Thor Kooda
2004-09-07 22:31 ` Thor Kooda [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040907223106.GB15730@rock \
    --to=tkooda-patch-kernel@devsec.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox