Re: RC5 algorithm
Elektron <elektron_rc5-FFYn/[email protected]> Tue, 20 Dec 2005 15:17:55 +0000
| Newsgroups | gmane.comp.distributed-net.hardware |
|---|---|
| Message-ID | <[email protected]> |
On 20 Dec, 2005, at 05:18, Martin Klingensmith wrote: > I'm using the test code here: > <http://www.rsasecurity.com/rsalabs/node.asp?id=2105> > But I can't get it to match the output. Seeing as how it's an > encryption > algorithm and all, it's pretty hard to tell what's wrong when I don't > have a working reference (and the output would be completely different > anyway) > I think I'm having issues with endianness. The RC5 algorithm implies > little-endian. I'm confused regarding the order of the key bytes and > the > plaintext bytes (thus I cannot get the RSA test to match my code). > This is the modified code if anyone doesn't mind looking at it: For one, c=3. I'm not sure about the endianness, because RC5 is very messy. But I'd look at the IV, which you don't seem to use anywhere. - Purr _______________________________________________ Hardware mailing list Hardware-Ra3b/QYEcJ3d140v2zMXi0fjHoOT/h/[email protected] http://lists.distributed.net/mailman/listinfo/hardware