Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 4 Feb 2012 20:56:44 +0530
From: Piyush Mittal <>
Subject: Re: Bit slice implementation of DES based hashes


I just took a look at the code.  It turns out that you haven't moved to
> 1.7.9+ yet, although I thought you said you did

Moving to 1.7.9 is not a big issue that I can move later easily.

although the key string is probably wrong (I see that you have the one we
> discussed commented out, so perhaps

Sorry the correct key I commented out i.e

It looks like initially your goal was to get things working for just one
bit layer - correct?

Yes you are right.

And you haven't completed that implementation yet -
> correct?  What/how are you testing, then?

Whole implementation is almost on my hand. According to oracle hashes we
need to apply DES encryption two times so it will be more appropriate if I
check result of first encryption if it is coming right or not? and for the
same I am checking result of first encryption as follows in function

            ((b[i] START >> index) & 1);

and also applying final permutation on it. (Please don't consider commented
part that I sent to you)

Are you only testing the "Key values.." printout from DES_bs_crypt_Oracle()?

Yes that is what I want first because I am not getting correct sequence of
768 bits (you also please don't consider other things now). And in order to
check these round key values I have taken an example from Behrouz A.
Forouzan. The key that I am using after parity drop according to the given
example is as follows:


You can see this example from the links given below:

But I am not getting the exact sequence of round keys as given in this
example. Please see to this matter.



Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ