Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 10 Mar 2012 14:10:44 -0300
From: Claudio André <claudioandre.br@...il.com>
To: john-dev@...ts.openwall.com
Subject: Fwd: Re: [john-users] Help on SHA-512

[Forwarded]
Hi

I'm working on OpenCL SHA-512 on John [1]. My code has some problem (see 
output below). Seems i'm failing on one small detail (and the devil 
lives on the details). Half of it works is fine, half not.

If someone knows enough about SHA-512 and kindly can help i really 
appreciate.

The final result is going to be submitted, so your are helping John 
community/users.

Thanks
[1] Based on CUDA source code.
-----

<= To understand the problem see 4 lines below =>
get 0ed2b0c2 b4792499 f7ff4b6e c8509501 c035a626 57a20048 055c8f4e 
c8b694ec  (My code)
bin 0ed2b0c2 20739878 b4792499 3c2f10d7 f7ff4b6e f0d2839b c8509501 
7893aa85  (Correct)

<= Put some spaces to see where the problem is =>
get 8c351f20          1a6f3e1e          f5f9e393          
894d3156          78015d38 4188231c 399e2234 9d26cfba
bin 8c351f20 cf8e55f5 1a6f3e1e e1830f2e f5f9e393 1aea1781 894d3156 
65548937  (Correct)

get 39d6dfcd          d1336b26          a16746e2          
c493cdc5          ff76a2d6 de5ca2f3 b944b3b1 359226fd
bin 39d6dfcd af305970 d1336b26 bdfdd35e a16746e2 f1850847 c493cdc5 
1f864cde  (Correct)
-----

PS 1: i'm using an AMD opencl extension. You can delete line: #pragma 
OPENCL EXTENSION cl_amd_printf : enable
PS 2: if you have problems in cryptsha512.cl (because of) remove line: 
#include "opencl_cryptsha512.h"
PS 3: and copy the included content to cryptsha512.cl file.
PS #: if you like to help but have problems on opencl stuff, please ask.
PS *: header attached (my fault).


-------- Mensagem original --------
Assunto: 	Re: [john-users] Help on SHA-512
Data: 	Sat, 10 Mar 2012 20:10:13 +0400
De: 	Solar Designer <solar@...nwall.com>
Responder a: 	john-users@...ts.openwall.com
Para: 	john-users@...ts.openwall.com



Hi Claudio,

On Sat, Mar 10, 2012 at 12:56:38PM -0300, Claudio Andr? wrote:
>  I'm working on OpenCL SHA-512 on John [1]. My code has some problem (see
>  output below). Seems i'm failing on one small detail (and the devil
>  lives on the details). Half of it works is fine, half not.
>
>  If someone knows enough about SHA-512 and kindly can help i really
>  appreciate.
>
>  The final result is going to be submitted, so your are helping John
>  community/users.

Sounds great, but you need to include your code and post to john-dev.
Please do.  Thank you!

I admit that there's a small chance that someone on john-users who is
not also on john-dev will happen to recognize the pattern without even
having seen the code, but this is a john-dev topic.

Thanks again,

Alexander


Content of type "text/html" skipped

View attachment "diff" of type "text/plain" (35950 bytes)

Powered by blists - more mailing lists

Your e-mail address:

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