OpenCores
no use no use 1/1 no use no use
DES cores
by smearing on Sep 1, 2006
smearing
Posts: 1
Joined: Sep 8, 2008
Last seen: Apr 15, 2011
I've tried to verify the results of the three available DES cores to
software implementations without any luck. I wrote software in C, C++
and Java using various techniques and libraries and these three
methods produce repeatable results. However, I modified test benches
to input exactly the same keys and data for the RTL, but cannot
correlate the results.

I've been very careful about transposing my data between the software
and hardware syntax, i.e.
sw: char key[] = { 0x34, 0x56, 0x23, ...};
hw: key = x"...23 56 34"

Has anyone verified the results of the encryption cores with software?
Any idea what I might be doing wrong?

Chris

DES cores
by Unknown on Sep 1, 2006
Not available!
smearing at yahoo.com wrote:
Any idea what I might be doing wrong?
The obvious one... endianity... ??? Regards, -- Mark McDougall, Engineer Virtual Logic Pty Ltd, http://www.vl.com.au> 21-25 King St, Rockdale, 2216 Ph: +612-9599-3255 Fax: +612-9599-3266
DES cores
by Unknown on Sep 1, 2006
Not available!
Mark McDougall wrote:

smearing at yahoo.com wrote:
Any idea what I might be doing wrong?
BTW, since you have source to both your software implementation and the hardware implementation, and can simulate the latter, surely it's not going to be very difficult to work out what's going wrong and where by looking at each step of the encryption???? Regards, -- Mark McDougall, Engineer Virtual Logic Pty Ltd, http://www.vl.com.au> 21-25 King St, Rockdale, 2216 Ph: +612-9599-3255 Fax: +612-9599-3266
no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.