[Tinyos-help] The source code to perform standalone AES encryption of cc2420 in TinyOS 2.10

Bo Zhu zhubo03 at gmail.com
Thu Dec 4 07:58:55 PST 2008


I have just finished the source code to use the hardware AES encryption
function of micaz.
When I planed to do this work, I searched through the tinyos emaillist
archive and found the people who asked the question about the standalone AES
almost got no answer.
So I send my source code here for sharing. Maybe this can help someone to
avoid the difficulties I met.

The interfaces are easy to understand and I also provide a simple test case.
And a detailed direction to use the source code is available at
http://cis.sjtu.edu.cn/index.php/The_Standalone_AES_Encryption_of_CC2420_(TinyOS_2.10%2C_MICAz)

What should be mentioned here is the key for encryption must be inverted
before being copied into the RAM. (1st byte of the key should be written
into the 16th byte of ram, 2 to 15, ...)
Here is a related article: https://community.ti.com/forums/t/363.aspx
I think this problem also exists in some in-line AES encryption/decryption
project.
Maybe the encryption and the decryption using a same wrong key will not
affect the correctness of communication, but this would cause some potential
problems, such as cross-platform comm.

Best regards,
Bo Zhu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081204/e1f93f07/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CC2420_Standalone_AES.zip
Type: application/zip
Size: 8625 bytes
Desc: not available
Url : https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081204/e1f93f07/attachment-0001.zip 


More information about the Tinyos-help mailing list