|
Message-ID: <CA+TsHUByn4BHnMBYno3rp+hePi4O2JVNVOqwXQQAC+q46A9iaw@mail.gmail.com>
Date: Mon, 9 Jul 2012 12:42:47 +0530
From: Sayantan Datta <std2048@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Rotate and bitselect investigation
On Mon, Jul 9, 2012 at 12:00 PM, Solar Designer <solar@...nwall.com> wrote:
> Wow. I wonder if this trick for SHA-1 was known at all. Not to us, it
> seems. The second bitselect() is essentially an and-not, so the speed
> might be better if it's written as such (if there's an and-not
> instruction). Also, I guess this change should hurt on NVIDIA (does
> it?), so you'll need to wrap it in some #ifdef.
>
Yes I did wrap it in #ifdef. Bitselct is a single instruction on 7970 and
it can be modified in million different ways. So one may try differnt
combination of bitselect for other logical expressions also.
Regards,
Sayantan
Content of type "text/html" skipped
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.