On Wed, Oct 28, 2009 at 12:11 PM, Roshan Mathews <[email protected]> wrote: > On Wed, Oct 28, 2009 at 4:19 AM, narendra babu <[email protected]> > wrote: >> i would like to know what are issues need to be addressed when moving from >> big endian to little endian . >> > No direct experience here, but C bitfields might be another thing for > you to worry about. > > OTOH, something stand along might just run. Does this code read/write > from the network, assuming some binary format? Does it read binary > blobs off the disk?
I have faced some issues while porting the DES algorithm from Solaris to some other OS on Intel(I dunno if it was Windows NT or Netware). I was working in Novell then. I had a very interesting and very long winded debug session in which I compared the results of the complex crypto algorithm step by step until I figured out that the issue was with the left shift/right shift/rotate function in the DES round key generation. The way I did that was instructive. I knew a lot about the internal workings of DES since I was deep into crypto at that time. I ran the same program on the target machine and on Solaris and I knew which outputs at which step had to match. So I did not have to follow the code much, my knowledge of the expected output helped. It was a long time ago, so I don't recollect many details but I was not good at coding then. I could still solve the issue due to my grasp of the technology and the big picture. It was a thoroughly interesting problem to solve. Does this satiate your curiosity Rosh? ;) -Girish -- Gayatri Hitech web: http://gayatri-hitech.com SpamCheetah Spam filter: http://spam-cheetah.com _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
