Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 17 Jan 2012 11:10:27 +0400
From: Solar Designer <>
Subject: Re: Bit slice implementation of DES based hashes

On Tue, Jan 17, 2012 at 06:37:15AM +0530, Piyush Mittal wrote:
> I am not getting exact source of segmentation fault

Did you find (e.g., with gdb) what source code line the segfault occurs
on?  What line is that?

> so I need to know exact
> process of key initialisation. Let us suppose I have  key
> "\x80\x11\x22\x33\x44\x55\x66\x77"  then how DES_bs_set_key() is setting
> the 768 key bit (i.e key for each round) using the code below. Please tell
> me as brief possible specially role of s1 and s2.

As I told you before, the bitslice DES key setup algorithm has been
replaced between 1.7.8 and 1.7.9.  The piece of code you quoted does not
exist in 1.7.9 anymore.  The s1 and s2 arrays also don't exist anymore.
Thus, it makes little sense to discuss them.  I suggest that you move to
1.7.9-jumbo-5 for your further work.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.