Hi Jakob,

Unfortunately encrypting the ciper again does not decrypt it. To
decrypt, you need to provide generated keys in inverted order. That's
what I want to achieve.

I know about "on the fly" functionality, but when you use it, it
encrypts/decrypts data on each transmission and I want to encrypt it
once, send it through the network and decrypt it on receiver.

2011/6/2 Jakob Bieling <[email protected]>:
> 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
>
>



-- 
Pozdrawiam,
Damian Rusinek.

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

Reply via email to