Assembly code of TEA encryption for Atmel 8051 microcontroller

Thread Starter

eng.me

Joined Dec 10, 2012
27
Dear all,
I'm using Atmel 8051 microcontroller for my final year project to design an secured Wireless data communication device.
the algorithm that I use for the encryption is called TEA (Tiny Encryption Algorithm ) .
The problem is that it is very difficult to WRITE the code of the algorithm using Assembly language of 8051 microcontroller and there is not enough time to try SO can someone help me to find the assembly source code of TEA for 8051 microcontroller.
By the way, I tried to searching on the Internet put I did not find what am I seeking.
 

MrChips

Joined Oct 2, 2009
30,707
Step 1. Find code written in C.
Step 2. Understand how the algorithm works.
Step 3. Convert the C code and algorithm steps into ASM code.
 

Thread Starter

eng.me

Joined Dec 10, 2012
27
Thank you MrChips .
I tried that, but it is not that easy.
Can someone suggest me another encryption & decryption algorithm can be implemented in ATMEL 8-bit 8051 microcontroller?
 

ErnieM

Joined Apr 24, 2011
8,377
Step 1. Find code written in C.
Step 2. Find C compiler for Atmel 8051 microcontroller
Step 3. Compile the C code into ASM code.
Step 4. File off all serial numbers and claim the code as your own.
 
Top