🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.crypt
Article #5055

Re: TEA problems with temporarely created variables ?

#5055
From: Tom St Denis
Date: Mon, 26 Aug 2002 14:09
37 lines
2317 bytes
skybuck2000@hotmail.com (skybuck) wrote in message news:<65fc3031.0208260053.300165ba@posting.google.com>...
> Hi...
> 
> I suspect the reason why TEA does not work in pascal to be language or
> compiler specific.
> 
> The problems are probably with these lines of code:
> 
> c version:
> 
> y += (z<<4)+a ^ z+sum ^ (z>>5)+b;
> z += (y<<4)+c ^ y+sum ^ (y>>5)+d;
> 
> pascal version:
> 
> y := y + (z shl 4) + a xor z + _sum xor (z shr 5) + b;
> z := z + (y shl 4) + c xor y + _sum xor (y shr 5) + d;
> 
> I suspect c compilers and pascal compilers create temporarely
> variables differently, giving a different result in pascal :(

Wow, you're an ignorant troll in math, cryptography, networking and
now compiler theory.

Neato trick there "Skybuck"

Here's some tips for the lame [e.g. you]

1.  Read posts before you reply or post your own.  Get a feel for the
group.
2.  Read the damn FAQ for your group(s)
3.  Don't be obstinate in posting over and over and over and over new
threads about your latest ventures into stupidsville
4.  Actually read what people write back.  Sometimes people actually
try to help.

Tom
Technical Details
Message-ID: <c8016437.0208260609.1de5bc7d@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <65fc3031.0208260053.300165ba@posting.google.com>

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: 1043cf,ddba2a7b81ed925a
X-Google-Attributes: gid1043cf,public
X-Google-Thread: 1014db,ddba2a7b81ed925a
X-Google-Attributes: gid1014db,public
X-Google-Thread: 10cc59,ddba2a7b81ed925a
X-Google-Attributes: gid10cc59,public
X-Google-ArrivalTime: 2002-08-26 07:09:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: tomstdenis@yahoo.com (Tom St Denis)
Newsgroups: sci.crypt,comp.lang.pascal,borland.public.delphi.objectpascal,comp.lang.c
Subject: Re: TEA problems with temporarely created variables ?
Date: 26 Aug 2002 07:09:07 -0700
Organization: http://groups.google.com/
Lines: 37
Message-ID: <c8016437.0208260609.1de5bc7d@posting.google.com>
References: <65fc3031.0208260053.300165ba@posting.google.com>
NNTP-Posting-Host: 205.211.40.22
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1030370947 525 127.0.0.1 (26 Aug 2002 14:09:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 26 Aug 2002 14:09:07 GMT