Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Thu, 18 Aug 2011 00:45:56 +0200
From: magnum <rawsmooth@...dband.net>
To: john-dev@...ts.openwall.com
Subject: --subformat for crypt(3)

I just uploaded patch 0020 to the wiki. This one enables use of 
--subformat to the generic crypt(3) format, for choosing what type to 
benchmark (the default is DES).

$ ./john -test -fo:crypt
Benchmarking: generic crypt(3) [?/64]... DONE
Many salts:	226560 c/s real, 226560 c/s virtual
Only one salt:	228576 c/s real, 228576 c/s virtual

$ ./john -test -fo:crypt -sub=sha512
Benchmarking: generic crypt(3) [?/64]... DONE
Many salts:	238 c/s real, 238 c/s virtual
Only one salt:	238 c/s real, 238 c/s virtual

Now we can see OMP scaling for non-DES hashes too:

$ ./john -test -fo:crypt -sub=sha512
Benchmarking: generic crypt(3) [?/64]... (2xOMP) DONE
Many salts:	448 c/s real, 224 c/s virtual
Only one salt:	448 c/s real, 225 c/s virtual


I added self-tests for MD5, SHA256 and SHA512. This works fine even if 
your system does not have the SHA ones (self-test will just fail if you 
try to use them). More tests could be added for whatever crypt(3) 
variants are out there.

magnum

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.