Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 17 Jun 2012 16:45:59 +0200
From: Tavis Ormandy <>
Subject: Re: Re: [patch] optional new raw sha1 implemetation

On Sun, Jun 17, 2012 at 04:24:43PM +0200, magnum wrote:
> Nice, you boosted it by 13% on my core2 laptop.

Great news! I'll experiment with a few other ideas.

Regarding the linkedin hashes, I haven't looked at them, but if I
understand correctly they're just SHA-1 with A set to 0? I think you
can just adjust for that in cmp_one() and it will magically work, as I
only look at E in my code.

In fact, I only look at A75 rol 2, because this lets me skip 5 rounds in
the common case :-)


> You need to re-add
> some #ifdef (apart from __GNUC__) for building this, now that the
> __SSE4_1__ is gone. I'm not sure what is the requiremtent now, just
> __SSE2__ perhaps?

Okay, sent you that patch.

> magnum
> On 2012-06-17 14:23, Tavis Ormandy wrote:
> >Hey magnum, I implemented one of Simon's suggestions, as well as your
> >fixes, and some other minor performance adjustments like an XMM bswap
> >and using a lookup table instead of a branch in set_key().
> >

------------------------------------- | pgp encrypted mail preferred

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.