Date: Mon, 12 Sep 2005 17:53:35 +0400 From: Solar Designer <solar@...nwall.com> To: john-users@...ts.openwall.com Subject: Re: interfacing JtR modules On Mon, Sep 12, 2005 at 05:46:33AM -0700, ByteRage wrote: > http://byterage.hackaholic.org/source/john-test.tar.gz > > Currently I've figured out how to use at least the DES > crypt() routines (standard / bitslice DES / MMX) (see > test.c & test2.c). But the LM, MD5, BF, AFS, BSDI > modules I can't get to work (see test2.c, the > cmp_exact() should return 1 for LM, MD5, BF imho) > > Maybe someone can see what I'm doing wrong. You forgot to call common_init(). Adding this call makes MD5 work in your test2.c (I did not try other hash types). > (like why LM is working and MD5 isn't). Didn't you just say that you couldn't get LM to work? P.S. In order to achieve these routines' full performance, you should invoke crypt_all() on at least min_keys_per_crypt candidate passwords at once and use hash tables and/or cmp_all(). cmp_one() and cmp_exact() are not meant to be performance-critical and are programmed accordingly. -- Alexander Peslyak <solar at openwall.com> GPG key ID: B35D3598 fp: 6429 0D7E F130 C13E C929 6447 73C3 A290 B35D 3598 http://www.openwall.com - bringing security into open computing environments Was I helpful? Please give your feedback here: http://rate.affero.net/solar
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.