Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 28 Jun 2012 12:18:18 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Re: Failed self test for raw-sha1-ng (linux-x86-sse2i
 OMP)

On 06/28/2012 09:35 AM, Tavis Ormandy wrote:
> Frank Dittrich <frank_dittrich@...mail.com>
> wrote:
> 
>> I just ran
>>
>> $ ./john --test=0|grep FAIL Benchmarking: Raw SHA-1 (pwlen <= 15) [128/128
>> SSE2 intrinsics 4x]... FAILED (get_hash[0](0)) 1 out of 138 tests have
>> FAILED
>>
>> $ ./john --list=build-info Version: 1.7.9-jumbo-6-RC0 Build:
>> linux-x86-sse2i OMP Arch: 32-bit LE $JOHN is ./ Rec file version: REC3
>> CHARSET_MIN: 32 (0x20) CHARSET_MAX: 126 (0x7e) CHARSET_LENGTH: 8 Compiler
>> version: 4.6.3 20120306 (Red Hat 4.6.3-2) gcc version: 4.6.3
>>
>> This works: $ ./john --test=0 --format=raw-sha1-ng Warning: doing quick
>> benchmarking - the performance numbers will be inaccurate Benchmarking:
>> Raw SHA-1 (pwlen <= 15) [128/128 SSE2 intrinsics 4x]... DONE Raw:	1331K
>> c/s real, 1331K c/s virtual
>>
>> Frank
>>
> 
> I see the bug, that's embarassing. Give me a minute to send a push request.
> 
> Valgrind caught the problem, sorry I didnt do that earlier.

Due to another recent change in raw-sha1-ng, I get a new warning when
compiling with clang version 2.9:
rawSHA1_ng_fmt.c:127:14: warning: unknown pragma ignored [-Wunknown-pragmas]
# pragma GCC optimize 3

I don't know whether more recent clang versions support this pragma, so
I wouldn't disable it for clang.
I just wanted to let you know.

Which version of gcc supports this pragma?
clang 2.9 (tags/RELEASE_29/final) claims to be compatible with gcc 4.2.1.

Frank

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.