Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 9 Feb 2012 15:29:27 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: Drupal 7

On Thu, Feb 09, 2012 at 10:32:07AM +0100, magnum wrote:
> On 02/09/2012 09:10 AM, Solar Designer wrote:
> > Just why is it slower than SHA-crypt-512, though?  (With the
> > current sets of test vectors.)  Somehow I thought that the latter with
> > the default of rounds=5000 actually invoked the SHA-512 compression
> > function about 17,000 times.  So I expected these two to provide very
> > similar performance.
> 
> SHA-crypt calls SHA512_Update() 17766 times for 5000 rounds, but
> sha512_block_dat_order() is only called 5021 times, and that's the slow
> stuff.

Oh, somehow I thought that the compression function was called this many
times, not just the "update" wrapper.  OK, I was wrong, then.

> Thanks, and then we can adjust the crypt_key array like this:

Yes.

Thanks,

Alexander

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ