Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 16 Mar 2011 02:54:08 +0100
From: magnum <rawsmooth@...dband.net>
To: john-dev@...ts.openwall.com
Subject: Re: Speedup of x86 .S build of raw-sha1 format

On 2011-03-15 23:28, jfoug wrote:
> Here is about a 10% speedup. A very trivial change.
>
> - memset(saved_key, 0, sizeof(saved_key));
> + //memset(saved_key, 0, sizeof(saved_key));
> + memset(saved_key, 0, 64*MMX_COEF);

Good find. I suppose it could be done exactly the same in 
mysqlSHA1_fmt.c too? It even has a comment about that memset. But it 
runs x1 on x86-64

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.