Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 10 Jun 2013 02:53:54 +0200
From: Lukas Odzioba <lukas.odzioba@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: popular binary_hash_*

2013/6/10 Lukas Odzioba <lukas.odzioba@...il.com>:
> Name fmt_default_binary_hash_N(void * binary) is ok?

I assumed that and fixed opencl_*_fmt.c files.

Also I changed labels for Keccak:
-#define FORMAT_LABEL		"raw-keccak-256"
+#define FORMAT_LABEL		"Raw-Keccak-256"
-#define FORMAT_LABEL		"raw-keccak"
+#define FORMAT_LABEL		"Raw-Keccak"

This is what's left:
./opencl_nt_fmt.c:static int binary_hash_6(void *binary) { return
((unsigned int *)binary)[1] & 0x7FFFFFF; }
./opencl_xsha512_fmt.c:static int binary_hash_6(void *binary) { return
*((ARCH_WORD_32 *) binary + 6) & 0x7FFFFFF; }
./opencl_rawsha512_fmt.c:static int binary_hash_6(void *binary) return
*((ARCH_WORD_32 *)binary+6) & 0x7FFFFFF; }

Some of the formats had debug info inside binary_hash_0 function, I
left them as is.

Patch attached,
Lukas

[ CONTENT OF TYPE application/octet-stream SKIPPED ]

Powered by blists - more mailing lists

Your e-mail address:

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