Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 8 Aug 2013 13:09:05 +0200
From: magnum <john.magnum@...hmail.com>
To: "john-dev@...ts.openwall.com" <john-dev@...ts.openwall.com>
Subject: Busted OpenCL formats

Sayantan,

What's with the bleeding changes to nt-opencl and raw-md4/5-opencl that you started in July? All three seem to be b0rken right now.

raw-md4-opencl now fails on OSX CPU but it passes Test Suite using GPU.

$ ../run/john test -form:raw-md4-opencl -dev=0 -inc:digits -max-len=9 -prog=10 
Device 0: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz 
Local worksize (LWS) 1, global worksize (GWS) 16777216
Loaded 1 password hash (Raw-MD4-opencl [MD4 OpenCL (inefficient, development use only)])
New local worksize (LWS) 64
Press 'q' or Ctrl-C to abort, almost any other key for status
OpenCL error (CL_INVALID_WORK_GROUP_SIZE) in file (opencl_rawmd4_fmt.c) at line (495) - (failed in clEnqueueNDRangeKernel)


raw-md5-opencl doesn't report candidates, it just says "CHECK". And it fails Test Suite.

$ ../run/john test -form:raw-md5-opencl -dev=0 -inc:digits -max-len=9 -prog=10 
Device 0: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz 
Local worksize (LWS) 1, global worksize (GWS) 4194304
Loaded 1 password hash (Raw-MD5-opencl [MD5 OpenCL (inefficient, development use only)])
Press 'q' or Ctrl-C to abort, almost any other key for status
0g 0:00:00:12 26.80% (ETA: 12:55:21) 0g/s 22978Kp/s 22978Kc/s 22978KC/s ..CHECK
0g 0:00:00:22 47.94% (ETA: 12:55:22) 0g/s 23190Kp/s 23190Kc/s 23190KC/s ..CHECK
0g 0:00:00:32 69.08% (ETA: 12:55:23) 0g/s 23287Kp/s 23287Kc/s 23287KC/s ..CHECK
0g 0:00:00:42 90.21% (ETA: 12:55:23) 0g/s 23361Kp/s 23361Kc/s 23361KC/s ..CHECK
0g 0:00:00:47 DONE (2013-08-08 12:55) 0g/s 23426Kp/s 23426Kc/s 23426KC/s ..CHECK
Session completed


NT-opencl segfaults (CPU) or fails (GPU). For some strange reason it passes Test Suite using GPU. I can't see why it passes self-test under TS but not from command line.

$ ../run/john test -form:nt-opencl -dev=0 -inc:digits -max-len=9 -prog=10 
Device 0: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz 
Local worksize (LWS) 1, Global worksize (GWS) 524288
Loaded 1 password hash (nt-opencl, NT [MD4 OpenCL (inefficient, development use only)])
Segmentation fault: 11

$ ../run/john test -form:nt-opencl -dev=1 -inc:digits -max-len=9 -prog=10 
Device 1: GeForce GT 650M 
Local worksize (LWS) 64, Global worksize (GWS) 524288
Loaded 1 password hash (nt-opencl, NT [MD4 OpenCL (inefficient, development use only)])
Self test failed (get_hash[0](6))


I really welcome the improvements but I don't want non-working code committed and left like that.

magnum

Powered by blists - more mailing lists

Your e-mail address:

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