Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120209081024.GA6067@openwall.com>
Date: Thu, 9 Feb 2012 12:10:24 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: Drupal 7

On Thu, Feb 09, 2012 at 11:47:44AM +0400, Solar Designer wrote:
> On Thu, Feb 09, 2012 at 03:15:46AM +0100, magnum wrote:
> > On 01/16/2012 12:12 AM, Solar Designer wrote:
> > > Here's one more: Drupal 7 uses a revision of phpass with MD5 replaced
> > > with SHA-512 and hashes cut at 258 bits (yes, 258 - that's a multiple of 6).
> > > These hash encodings use the $S$ prefix.  Perhaps we should support them.
> > 
> > I just committed this format. Painfully slow but supports OMP.
...
> Benchmarking: Drupal 7 $S$ (SHA-512 x 16385) [64/64]... (8xOMP) DONE
> Raw:    738 c/s real, 92.0 c/s virtual

Here's a very minor optimization:

Benchmarking: Drupal 7 $S$ (SHA-512 x 16385) [64/64]... (8xOMP) DONE
Raw:    745 c/s real, 93.7 c/s virtual

Patch attached.

Alexander

View attachment "john-drupal7-opt.diff" of type "text/plain" (1055 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.