Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 30 Aug 2012 19:51:54 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Benchmark format error

On 30 Aug, 2012, at 15:06 , Camille Mougey <commial@...il.com> wrote:

> Indeed, it doesn't still work. Surprisingly, the hash is cracked when it is with nine others, and still non guessed (but detected) with hundred or thousand others.
> However, the only function able to compute the hash part is crypt_all. What's happened?

Just spray debug output over crypt_all() and the get_hash*() functions and you will probably spot the problem in no time.

In Jumbo, we have a couple prefab debug functions in memory.c:

#include memory.h
...
dump_stuff_msg("crypt_all result", binary, 16);

This will dump 16 bytes of hex output from binary. Do this right before crypt_all() returns, and a similar print of the exact value used by get_hash_2(), for a starter.

magnum

Powered by blists - more mailing lists

Your e-mail address:

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