Searching \ for 'New TEA (and other) on-line' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=new+tea+other+line
Search entire site for: 'New TEA (and other) on-line'.

Truncated match.
PICList Thread
'New TEA (and other) on-line'
1998\05\08@043043 by Marco DI LEO

flavicon
face
For everyone interested in the Tiny Encryption Algorithm (TEA) I have a
brand new code that implements the new TEA-N. The new algorithm
structure solves some weaknesses found on the original one. The new
implementation (just 240 words, 33 bytes RAM) can be found at my
set-up-with-no-time-in-my-hand PIC page at:

    http://members.tripod.com/~mdileo/

Also, you will find there a list of links to some web pages on the PIC
subject. If you aren't in the list and want to be added (I wonder wy
:-), if you are in the list and don't like my description (my English
prose is not so good, after all), please let me know and I will fix it.

Ciao
 Marco

----
Marco DI LEO                  email: spam_OUTm.dileoTakeThisOuTspamsistinf.it
Sistemi Informativi S.p.A.    tel:   +39 6 50292 300
V. Elio Vittorini, 129        fax:   +39 6 5015991
I-00144 Roma
Italy

1998\05\09@233355 by Andrew Warren

face
flavicon
face
Marco DI LEO <.....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU> wrote:

> For everyone interested in the Tiny Encryption Algorithm (TEA) I
> have a brand new code that implements the new TEA-N.

Marco:

I haven't yet checked your TEA-N code, but your "regular" TEA code
(identified as "version 1.1" on your web page) doesn't work.

As you'll recall, the ciphertext produced from an all-zero plaintext
and an all-zero key should be:

   0x41ea3a0a 0x94baa940

Your code produces:

   0xF6750B0D 0xDE93A110

-Andy

=== Andrew Warren - fastfwdspamKILLspamix.netcom.com
=== Fast Forward Engineering - Vista, California
=== http://www.geocities.com/SiliconValley/2499 (personal)
=== http://www.netcom.com/~fastfwd (business)

1998\05\13@110859 by Marco DI LEO

flavicon
face
Hi Andy.

Please double check your statement. I just downloaded from my page the
tea11.zip file and compiled tea.asm with the enclosed teatest.asm and
math32.inc. After the call at TEAenc this is my mplab 3.40.00 watch
window:

Address Symbol Value
0C      vy     H'0A3AEA41'
10      vz     H'40A9BA94'
14      ka     H'00000000'
18      kb     H'00000000'
1C      kc     H'00000000'
20      kd     H'00000000'

If you read the vy and vz variables using the LSB-first convention you
can see my code produces the correct values (0x41ea3a0a 0x94baa940). I
don't know wy you get the cited result. Have you used the test drive
code I supply or did you write another (actually I don't believe this
really matters)? I don't think the byte ordering is important since you
say you encipher using an all zero text with an all zero key.

The TEA-N version I post on my web page is checked against the reference
implementation (you can find a link to it at my page:
http://members.tripod.com/~mdileo/) for various values of the text and
keys chosen to avoid problems related to palindrome keys.

Please give me your feedback as you can.

Ciao
 Marco


Andrew Warren wrote:
{Quote hidden}

----
Marco DI LEO                  email: EraseMEm.dileospam_OUTspamTakeThisOuTsistinf.it
Sistemi Informativi S.p.A.    tel:   +39 6 50292 300
V. Elio Vittorini, 129        fax:   +39 6 5015991
I-00144 Roma
Italy

1998\05\13@144003 by Marco DI LEO

flavicon
face
I wrote:
> The TEA-N version I post on my web page is checked against the reference
> implementation (you can find a link to it at my page:
> http://members.tripod.com/~mdileo/) for various values of the text and
> keys chosen to avoid problems related to palindrome keys.

Since I got some emails about the correctness of my code, I have put a
table containing some of the values I used to check my TEA and TEA-N
code on my CryptoPIC page at http://members.tripod.com/~mdileo/. After
the Andrew Warren warning I double checked my tea11.zip and tea13.zip
code against the contents of the reference sheet I made finding no
discrepancies. FYI the sheet is an output form the execution of the
reference TEA (and TEA-N) 'C' implementation on a PowerPC machine.
Please note that my code use the LSB-first convention for the 32 bits
values used by the algorithms.

Ciao
 Marco



----
Marco DI LEO                  email: m.dileospamspam_OUTsistinf.it
Sistemi Informativi S.p.A.    tel:   +39 6 50292 300
V. Elio Vittorini, 129        fax:   +39 6 5015991
I-00144 Roma
Italy

1998\05\13@205434 by Andrew Warren

face
flavicon
face
Marco DI LEO <@spam@PICLISTKILLspamspamMITVMA.MIT.EDU> wrote:

> Please double check your statement. I just downloaded from my page
> the tea11.zip file and compiled tea.asm with the enclosed
> teatest.asm and math32.inc. After the call at TEAenc
> ....
> you can see my code produces the correct values (0x41ea3a0a
> 0x94baa940). I don't know wy you get the cited result. Have you used
> the test drive code I supply or did you write another

Marco:

I just ran your code again, and it produced the same (incorrect)
results that I mentioned earlier.

I used your TEATEST.ASM front-end, your MATH32.INC file, the
P16F84.INC file distributed with MPASM, and MPLAB-SIM 3.32.18.

I'll take a third look at it later this afternoon and let you know
what I discover.

-Andy

=== Andrew Warren - KILLspamfastfwdKILLspamspamix.netcom.com
=== Fast Forward Engineering - Vista, California
=== http://www.geocities.com/SiliconValley/2499 (personal)
=== http://www.netcom.com/~fastfwd (business)

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...