Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 25 Jun 2012 03:04:21 +0400
From: Solar Designer <>
Subject: Re: Why the PHPS benchmark change from Many salts/Only one salt to Raw since jumbo-5?

Frank, magnum -

On Mon, Jun 25, 2012 at 02:06:14AM +0400, Solar Designer wrote:
> There's only one test vector in PHPS_fmt_plug.c, so the "many salts"
> benchmark wouldn't be reasonable.  A recent change to bench.c recognizes
> this special case now.
> We need to add more test vectors.  In general, having only one test
> vector is wrong, yet this is the case for many formats currently.

The attached patch adds a second test vector to PHPS_fmt_plug.c.  Now I
am getting:

Benchmarking: PHPS md5(md5($pass).$salt) [128/128 XOP intrinsics 16x4x2]... DONE
Many salts:     30354K c/s real, 30354K c/s virtual
Only one salt:  8820K c/s real, 8820K c/s virtual


View attachment "john-phps-tests.diff" of type "text/plain" (742 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.