Hello...  
              Try  to  so  with  yourself ..  this  is  the  basic  thing 
is  NesC....If  you  want  to  generate separate  key  for  each 
communication.  then  you  should  have  to do  with  that  code  only... 
There  is  one  master  key  in  the  code,  using that  master  key  and 
one  trivial  id  we  can update it  on  each  time  for  the 
communication. then  again  why  you  want  to  generate  a  random.. 
key.....?  i  don't  know...
           Using for  loop  in C    and  NesC  are  different. Because..this 
device is  used  for  the  purpose  of  LOW-POWER  device  implementation, 
so  you  should  use direct  memory  address  method  for  it.....but  you 
can   use  "for loop " in  some  occasion.

  I  just  use  the  same  code  in  my  program  (3DES Encryption) and 
implemented  many  algorithm  by  using  the  for  loop ( i  always  try  to 
avoid  in for  loop  in  it).  But  i  didn't  get  any  error  like  this
...  this  is  some basic kind  of  stuff...  do  it  yourself.......if  any
kind  of  technical problem  you  are  facing......you  r  always WELCOME..



--
View this message in context: 
http://tinyos-help.10906.n7.nabble.com/Assign-value-to-an-array-NesC-tp23892p23896.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to