Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 23 Mar 2012 11:03:40 -0300
From: Claudio André <claudioandre.br@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: OpenCL formats write-buffer optimisations

Hi, I did it for SHA-512. If you guys have a deadline, i prefer to 
submit latter. Please, let me know.

BTW, the self-test stuff is going to be useful to me too.

Claudio


Em 22-03-2012 18:45, magnum escreveu:
> Samuele,
>
> Could you take a look at commit 7c8dcdb and see if you agree with it?
> I'm not sure there's much of a boost but there is no downside. This
> general approach should be considered for all formats. Never do anything
> not needed :)
>
> The opposite case, many salts, could be optimised too. In this case,
> john will do this:
>
> set_salt()
> set_key() (millions of times)
> crypt_all()
> set_salt()
> crypt_all() (using same keys)
> set_salt()
> ...
>
> In this case we should avoid re-transferring the keys as they are
> already there. This might be a noticable boost on systems with slow
> transfer as the key buffer is a lot larger. One way to achive this is
> something like the enclosed patch (untested on GPU as of yet). All
> salted formats could/should do something like this.
>
> magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ