Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 06 Apr 2011 02:23:58 +0200
From: magnum <rawsmooth@...dband.net>
To: john-dev@...ts.openwall.com
Subject: Re: binary hashes and BINARY_SIZE

On 2011-04-05 03:14, Solar Designer wrote:
> On Tue, Apr 05, 2011 at 02:52:03AM +0200, magnum wrote:
>> Not sure I got
>> everything 100% right yet but there was obviously a significant
>> performance boost:
> ...
>> I'll polish this a bit and post it later.
>
> Impressive.  Please do share the code (perhaps via the wiki).

Now uploaded to the wiki, as an update to my "UTF-8" patch (version 9). 
Breaking it out to a separate patch would be too much work for no gain 
but some of the files can be used as-is in a non-utf8 tree.

A bunch of loader fixes are also included, they too can be used as-is 
(nethalflm does not even work in jumbo-12 using the L0phtcrack input 
format and some formats was too promiscuos, resulting in loading of 
hashes of other formats).

Original performance (Jumbo 12):

Benchmarking: HalfLM C/R DES [nethalflm]... DONE
Many salts:	1134K c/s real, 1146K c/s virtual
Only one salt:	1099K c/s real, 1099K c/s virtual

Benchmarking: MSCHAPv2 C/R MD4 DES [mschapv2]... DONE
Many salts:	670052 c/s real, 676820 c/s virtual
Only one salt:	653872 c/s real, 653872 c/s virtual

Benchmarking: LM C/R DES [netlm]... DONE
Many salts:	466570 c/s real, 471282 c/s virtual
Only one salt:	455910 c/s real, 455910 c/s virtual

Benchmarking: NTLMv1 C/R MD4 DES [netntlm]... DONE
Many salts:	668224 c/s real, 674973 c/s virtual
Only one salt:	646003 c/s real, 646003 c/s virtual

Benchmarking: LMv2 C/R MD4 HMAC-MD5 [netlmv2]... DONE
Many salts:	507236 c/s real, 507236 c/s virtual
Only one salt:	498694 c/s real, 498694 c/s virtual

Benchmarking: NTLMv2 C/R MD4 HMAC-MD5 [netntlmv2]... DONE
Many salts:	447053 c/s real, 451568 c/s virtual
Only one salt:	455224 c/s real, 455224 c/s virtual


Current performance:

Benchmarking: HalfLM C/R DES [nethalflm]... DONE
Many salts:	1195K c/s real, 1195K c/s virtual
Only one salt:	1165K c/s real, 1165K c/s virtual

Benchmarking: MSCHAPv2 C/R MD4 DES [mschapv2]... DONE
Many salts:	2374K c/s real, 2398K c/s virtual
Only one salt:	1571K c/s real, 1571K c/s virtual

Benchmarking: LM C/R DES [netlm]... DONE
Many salts:	2357K c/s real, 2381K c/s virtual
Only one salt:	766848 c/s real, 766848 c/s virtual

Benchmarking: NTLMv1 C/R MD4 DES [ESS MD5] [netntlm]... DONE
Many salts:	2339K c/s real, 2363K c/s virtual
Only one salt:	1517K c/s real, 1517K c/s virtual

Benchmarking: LMv2 C/R MD4 HMAC-MD5 [netlmv2]... DONE
Many salts:	586752 c/s real, 592678 c/s virtual
Only one salt:	526080 c/s real, 526080 c/s virtual

Benchmarking: NTLMv2 C/R MD4 HMAC-MD5 [netntlmv2]... DONE
Many salts:	520491 c/s real, 525696 c/s virtual
Only one salt:	473472 c/s real, 473472 c/s virtual


All these formats now got proper get_hash() functions etc. as well as 
OMP support.

enjoy
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.