Article View: sci.crypt
Article #5028Re: TEA found the problem
From: kers
Date: Tue, 27 Aug 2002 14:06
Date: Tue, 27 Aug 2002 14:06
23 lines
1992 bytes
1992 bytes
In article <HYAa9.3322$28.522127@zwoll1.home.nl>, "Skybuck Flying" <skybuck2000@hotmail.com> writes: > I found the problem: > > y = y + ((z << 4) ^ (z >> 5)) + z ^ (_sum + k[ _sum & 3 ]); > > It's with this piece: > > z ^ _sum + k[ _sum & 3 ]; > > Visual c interprets it as: > > z ^ (_sum + k[ _sum & 3 ]); > > Go figure... Since thirty seconds with a C precedence table would have told you that, what was your point exactly? -- Chris "electric hedgehog" Dollin C FAQs at: http://www.faqs.org/faqs/by-newsgroup/comp/comp.lang.c.html C welcome: http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html
Technical Details
Message-ID:
<akg11f$r4e$1@murdoch.hpl.hp.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!ihnp4.ucsd.edu!sdd.hp.com!deimos.hpl.hp.com!nntp.hpl.hp.com!murdoch.hpl.hp.com!not-for-mailReferences:
<65fc3031.0208260053.300165ba@posting.google.com> <3D69F6F6.E43591E6@saiknes.lv.NO.SPaM.NET> <HYAa9.3322$28.522127@zwoll1.home.nl>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1014db,ddba2a7b81ed925a
X-Google-Attributes: gid1014db,public
X-Google-Thread: 1043cf,ddba2a7b81ed925a
X-Google-Attributes: gid1043cf,public
X-Google-Thread: fb57f,ddba2a7b81ed925a
X-Google-Attributes: gidfb57f,public
X-Google-Thread: 10cc59,ddba2a7b81ed925a
X-Google-Attributes: gid10cc59,public
X-Google-ArrivalTime: 2002-08-27 07:19:34 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!ihnp4.ucsd.edu!sdd.hp.com!deimos.hpl.hp.com!nntp.hpl.hp.com!murdoch.hpl.hp.com!not-for-mail
From: kers@hplb.hpl.hp.com ()
Newsgroups: sci.crypt,comp.lang.pascal,borland.public.delphi.objectpascal,comp.lang.c
Subject: Re: TEA found the problem
Date: 27 Aug 2002 14:06:39 GMT
Organization: Hewlett-Packard Laboratories, Bristol, UK
Lines: 23
Message-ID: <akg11f$r4e$1@murdoch.hpl.hp.com>
References: <65fc3031.0208260053.300165ba@posting.google.com>
<3D69F6F6.E43591E6@saiknes.lv.NO.SPaM.NET>
<HYAa9.3322$28.522127@zwoll1.home.nl>
NNTP-Posting-Host: cdollin.hpl.hp.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: murdoch.hpl.hp.com 1030457199 27790 15.144.94.165 (27 Aug 2002 14:06:39 GMT)
X-Complaints-To: usenet@murdoch.hpl.hp.com
NNTP-Posting-Date: 27 Aug 2002 14:06:39 GMT
X-Newsreader: knews 1.0b.1