Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 31 Aug 2015 14:15:51 +0300
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: PHC: Argon2 on GPU

On Mon, Aug 31, 2015 at 10:26:43AM +0300, Solar Designer wrote:
> On Sun, Aug 30, 2015 at 11:56:32PM +0200, Agnieszka Bielec wrote:
> > I just discovered that argon2d which uses coalescing is faster on both
> > TITAN, it's slower with coalescing on my 960m so I didn't tested this
> > on super. I should. I was trying many things for some period of time
> > but these changes in results are from that we tested argon more
> > carefully. to turn on coalescing in argon2d it's only needed to change
> > 4 lines but I will make #define USE_COALESCING 0/1 very soon
> 
> It's unexpected that coalescing for Argon2d is of so much help.

I realized that coalescing may in fact help speedup Argon2d at low t
like that because, while its lookups are random, its initial writes are
sequential - and at low t these are a large fraction of all accesses.

> Please
> confirm these speeds by actual cracking, with a wordlist containing no
> duplicate lines.

I've just confirmed this:

[solar@...er run]$ cat>pw
$argon2d$1$1536$1$damage_done$EE74C39511A1D4C4F71FD17966A1CE1F6D3E1B4E93438636EFEEC9696AD27A6C
[solar@...er run]$ LWS=48 GWS=2304 ./john -format=argon2d-opencl -dev=5 -inc -min-len=8 -max-len=8 pw
Using default input encoding: UTF-8
Loaded 1 password hash (argon2d-opencl [Blake2 OpenCL])

memory per hash : 1.50 MB
Device 5: GeForce GTX TITAN
Press 'q' or Ctrl-C to abort, almost any other key for status
0g 0:00:00:03  0g/s 9005p/s 9005c/s 9005C/s GPU:42б╟C util:99% fan:31% babygirl..bashouri
0g 0:00:03:02  0g/s 9559p/s 9559c/s 9559C/s GPU:63б╟C util:99% fan:39% mouggy12..medertya

BTW, per nvidia-smi it consumes 177W and 3791MiB.

Alexander

Powered by blists - more mailing lists

Your e-mail address:

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