Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 05 Dec 2011 19:15:23 +0100
From: magnum <>
Subject: Re: 2 changes to dynamic format

2011-12-05 17:42, jfoug wrote:
> I have posted patch 0035 to the wiki.  This implements 2 changes to
> dynamic.
> 1.       Faster keyloading.
> 2.       Added 2 new hash functions. We were at 5, now we are at 7.
> #1 was derived from code magnum did in raw-md5thick_fmt.c and
> nsldap_fmt.c  (md5 and sha1).  For the SHA1, we also implemented a new
> swapping macro. I have taken that macro, and placed it into it’s own
> header file, johnswap.h   That macro will translate down to a single
> __asm bswap reg instruction on many intel systems.  On others, it uses

On my machine, these changes made dynamic_fmt as fast as the "thick"
experimental raw-md5 (benchmark still 3% slower but real world speed is
same) so I think my "mission" is completed and we could ditch
raw-md5thick again, or move it to unused/.

Another stunt double is "NT2". This format is very interesting for
benchmarking MD4 intrinsics against the old NT format, but it currently
is a little slower on most builds (a lot slower on some). The
problem is it will load "before" the normal NT format because of
filename sort order. So maybe that one too should go to unused/ to avoid
some end-user confusion. Another possibility is to rename it to
something like "x-nt_fmt_plug.c" (x for experimental) so it will come
last in auto load order.

Any thoughts?


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.