Hi,

  try "encryting" the cipher text again. The CC2420 AES works in CTR mode, 
meaning encryption and decryption are the same operation.

  Moreover, if you send your packets anyway, you can use the built-in 
functionality of the CC2420 chip to encrypt all outgoing packets on the fly. It 
will also decrypt incoming packets automatically. TinyOS already allows for 
this, simply Google for "tinyos cc2420 security tutorial". Note that the actual 
wiki seems to be down, but you use the Google cache. That worked for me.

Best,
Jakob


On Jun 2, 2011, at 9:07 AM, Damian Rusinek wrote:

> Hello.
> I'm using 'The Standalone AES Encryption of CC2420' which is described
> here: 
> http://cis.sjtu.edu.cn/index.php/The_Standalone_AES_Encryption_of_CC2420_(TinyOS_2.10_and_MICAz)
> 
> I encrypt the payload of my packet before sending.
> The question is how can I decrypt it?
> Does anybody use this library?
-- 
net.cs.bonn.edu/bieling


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to