Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 08 Feb 2012 10:22:59 +0100
From: magnum <>
Subject: Re: Recent github patches

On 02/07/2012 09:33 AM, Samuele Giovanni Tonon wrote:
> - i added mysql-sha1, which is basically sha(sha(p)) ,
> on my test i saw it going faster than on cpu. any test
> is really appreciated

Maybe you worked this out already, but here's the general way you add an
opencl format (that already exist as non-opencl) to the test suite:

1. Look at the non-opencl test line:

$ cd ../test
$ grep -i mysql-sha1 jtrts.dat

2. Add a similar line:

$ echo
>> jtrts.dat

Do not miss the 'N' that turns into a 'Y' (this controls whether TS
gives --format=xx to John or tries auto-detection, currently always 'Y'
for opencl - otherwise the CPU format may run instead).

3. Done! Now you can run "./ mysql-sha1-opencl" for testing just
this format, and it will be included when you test all of them using
"./ opencl".

> nsldaps, raw-md5, mysql-sha1 raw-sha1 now all support password
> up to 31 lenght.

This means their jtrts.dat lines should now end in ,(1500),(1500) for
including all supplied tests.


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.