flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > TEA macros for fasm

Author
Thread Post new topic Reply to topic
IceStudent



Joined: 19 Dec 2003
Posts: 60
Location: Ukraine
IceStudent 06 Aug 2006, 14:15
Hi!

Here is a TEA (Tiny Encryption Algorithm) implementations for the flat assembler (both assembly and run time versions). Also, a XXTEA (TEA extension) included.

The code seems a dirty, but you can free optimize it.

Enjoy.


Description: TEA implementations for fasm
Download
Filename: tea-fasm.zip
Filesize: 3.51 KB
Downloaded: 404 Time(s)

Post 06 Aug 2006, 14:15
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 06 Aug 2006, 23:07
Thanks for the submission.

BTW: it crashes on my Pentium. The code uses MMX but does not check first that MMX is available. Later I'll test it on my Pentium-M.
Post 06 Aug 2006, 23:07
View user's profile Send private message Visit poster's website Reply with quote
IceStudent



Joined: 19 Dec 2003
Posts: 60
Location: Ukraine
IceStudent 07 Aug 2006, 06:30
Yes, XXTEA code uses MMX registers for improving perfomance. It can be replaced via memory variables, of course.
Post 07 Aug 2006, 06:30
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.