|
Message-ID: <4B925398.4060506@bredband.net>
Date: Sat, 06 Mar 2010 14:07:36 +0100
From: "Magnum, P.I." <rawsmooth@...dband.net>
To: john-users@...ts.openwall.com
Subject: Re: Feedback on the generic crypt(3) patch
Magnum, P.I. skrev:
> In case anyone share my curiousity, I enclose a little patch making it
> easy to choose which format is tested/benchmarked, as a compile time
> option. It's supposed to be applied after the crypt-1 patch.
Sorry about that, I incorrectly used a minus sign messing SHA tests up.
I'm not a coder really. Here is a fixed patch. It also adds some
dupe-salt checking code that seemed to be missing, in the unlikely case
there are duplicates.
Now SHA-512 is faster than SHA-256, that was a bit unintuitive to me.
---8<---------8<---------8<---------8<---------8<------
Benchmarking: Traditional DES [128/128 BS SSE2-16]... DONE
Many salts: 4504K c/s real, 4563K c/s virtual
Only one salt: 3884K c/s real, 3884K c/s virtual
Benchmarking: generic crypt(3) native (using DES) [OS/64]... DONE
Many salts: 421162 c/s real, 425416 c/s virtual
Only one salt: 417396 c/s real, 417396 c/s virtual
Benchmarking: FreeBSD MD5 [32/64 X2]... DONE
Raw: 20248 c/s real, 20640 c/s virtual
Benchmarking: generic crypt(3) native (using MD5) [OS/64]... DONE
Many salts: 8061 c/s real, 8118 c/s virtual
Only one salt: 8087 c/s real, 8087 c/s virtual
Benchmarking: generic crypt(3) native (using SHA-256) [OS/64]... DONE
Many salts: 382 c/s real, 388 c/s virtual
Only one salt: 397 c/s real, 398 c/s virtual
Benchmarking: generic crypt(3) native (using SHA-512) [OS/64]... DONE
Many salts: 464 c/s real, 465 c/s virtual
Only one salt: 465 c/s real, 466 c/s virtual
---8<---------8<---------8<---------8<---------8<------
View attachment "crypt-benchmark.diff" of type "text/x-patch" (2640 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.