🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.crypt
Article #5040

Re: TEA problems with temporarely created variables ?

#5040
From: Skybuck Flying
Date: Tue, 27 Aug 2002 02:01
27 lines
2180 bytes
 y = (z << 4 ^ z >> 5);

 printf(" y = (z << 4 ^ z >> 5);  %lu\n", y );

 y = ((z << 4) ^ (z >> 5));

 printf(" y = ((z << 4) ^ (z >> 5));  %lu\n", y );

 y = (z << 4 ^ z >> 5) + z ^ _sum;

 printf(" y = (z << 4 ^ z >> 5) + z ^ _sum; %lu\n", y );

 y = ((z << 4) ^ (z >> 5)) + z ^ _sum;

 printf(" y = ((z << 4) ^ (z >> 5)) + z ^ _sum; %lu\n", y );

 y = (z << 4 ^ z >> 5) + z ^ _sum + k[ _sum & 3 ];

 printf(" (z << 4 ^ z >> 5) + z ^ _sum + k[ _sum & 3 ]; %lu\n", y );

 y = ((z << 4) ^ (z >> 5)) + (z ^ _sum) + k[ _sum & 3 ];  // this line gives
different result AHA !!

 printf(" ((z << 4) ^ (z >> 5)) + (z ^ _sum) + k[ _sum & 3 ]; %lu\n", y );

Getting close to finding the problem.
Technical Details
Message-ID: <SVAa9.3317$28.521799@zwoll1.home.nl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!kibo.news.demon.net!demon!newshub1.nl.home.com!news.nl.home.com!zwoll1.home.nl.POSTED!not-for-mail
References: <65fc3031.0208260053.300165ba@posting.google.com> <3D69F6F6.E43591E6@saiknes.lv.NO.SPaM.NET>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb57f,ddba2a7b81ed925a
X-Google-Attributes: gidfb57f,public
X-Google-Thread: 1014db,ddba2a7b81ed925a
X-Google-Attributes: gid1014db,public
X-Google-Thread: 1043cf,ddba2a7b81ed925a
X-Google-Attributes: gid1043cf,public
X-Google-Thread: 10cc59,ddba2a7b81ed925a
X-Google-Attributes: gid10cc59,public
X-Google-ArrivalTime: 2002-08-26 19:01:36 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!kibo.news.demon.net!demon!newshub1.nl.home.com!news.nl.home.com!zwoll1.home.nl.POSTED!not-for-mail
From: "Skybuck Flying" <skybuck2000@hotmail.com>
Newsgroups: sci.crypt,comp.lang.pascal,borland.public.delphi.objectpascal,comp.lang.c
References: <65fc3031.0208260053.300165ba@posting.google.com> <3D69F6F6.E43591E6@saiknes.lv.NO.SPaM.NET>
Subject: Re: TEA problems with temporarely created variables ?
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <SVAa9.3317$28.521799@zwoll1.home.nl>
Date: Tue, 27 Aug 2002 04:01:06 +0200
NNTP-Posting-Host: 217.121.93.57
X-Complaints-To: abuse@home.nl
X-Trace: zwoll1.home.nl 1030413042 217.121.93.57 (Tue, 27 Aug 2002 03:50:42 MEST)
NNTP-Posting-Date: Tue, 27 Aug 2002 03:50:42 MEST
Organization: @Home Network