Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 25 Jul 2018 14:09:14 +0200
From: Frank Dittrich <frank.dittrich@...lbox.org>
To: john-dev@...ts.openwall.com
Subject: Re: Exclude items from test vectors for --test

Am 25.07.2018 um 14:00 schrieb Solar Designer:
> On Wed, Jul 25, 2018 at 01:48:39PM +0200, Frank Dittrich wrote:
>> When using --test, john first tests all hashes, then it measures the
>> performance with just the top 2 hashes, i.e. 5000 iterations, unless you
>> pick other hashes using something like --costs=1021:1021.
> 
> The current behavior appears to be different from what you simulated.
> With the actual sha512crypt-ztex format, the speed reported by --test is
> now approx. 4 times higher than what's seen when cracking hashes with
> 5000 iterations.  This suggests that the many lower iteration count test
> vectors are used for the benchmark.

I described the behaviour for sha512crypt format after switching to the 
ztex self tests. In this case, --test (with or without --costs) works as 
expected.

Is the ztex format doinf something "unexpected" to the self tests like 
sorting them in a particular order after loading them?
Nevertheless, the reported cost should match reality, and --cost= should 
allow picking alternative hashes for the perfomance test.


Frank

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.