|
Message-ID: <64a8ebe560ddddaacc9c578b109e3080@smtp.hushmail.com>
Date: Fri, 22 Jan 2016 18:24:08 +0100
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: loader and cracker (prefetch) optimizations from
September 2015
On 2016-01-21 12:08, Solar Designer wrote:
> FYI, I've just committed the loader and cracker optimizations from
> September 2015 to the core tree. There are a few differences from what
> went into jumbo back then, but almost all of those are on purpose, and
> should remain as differences. For example, show_uid_in_cracks is
> jumbo-specific, which affected these changes in a few places. So when
> merging these, you should mostly keep the code currently in jumbo as-is,
> even if the new core code does those things differently.
>
> One exception to that is SSE2 vs. SSE checks for the prefetching.
> It turns out those prefetch instructions and intrinsics are available
> with plain SSE (Pentium 3) rather than require SSE2 (Pentium 4), so
> let's in fact be checking __SSE__ and #include'ing <xmmintrin.h>, rather
> than checking __SSE2__ and #include'ing <emmintrin.h>.
Thanks for pointing out how to merge this, it really made it easy. I
think I got it right: Attached is the net changes to Jumbo.
I did not "reduce CRACKED_HASH_LOG from jumbo's 25 to 21"... should we
do so in Jumbo?
magnum
View attachment "merge.diff" of type "text/plain" (8391 bytes)
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.