Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 07 May 2015 15:35:53 +0200
From: Frank Dittrich <frank.dittrich@...lbox.org>
To: john-dev@...ts.openwall.com
Subject: Re: get_binary_*() and get_hash_*() methods

On 05/07/2015 03:17 PM, Aleksey Cherepanov wrote:
> On Thu, May 07, 2015 at 12:50:33PM +0300, Aleksey Cherepanov wrote:
>> In DES_bs.c in DES_bs_cmp_one :
>>
>> /* Start by comparing bits that are not part of get_hash*() return value */
>> 	CMP_BIT(30);
>> 	CMP_BIT(31);
> 
> I am confused now. I think DES_bs_cmp_all() checks first 32 bits.
> So binaries for DES_bs_cmp_one() already passed the check. May
> cmp_one() be called without cmp_all()?


When cmp_one is called that doesn't mean that cmp_all has been called
before.
Whether cmp_all gets called depends on the number of hashes, I think.

Frank

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.