|
Message-ID: <CABob6iriW-NF9_KXdFRdAAH0KJeUOS0gegD-fB8NaARbw0QF8A@mail.gmail.com> Date: Mon, 21 Nov 2011 15:34:19 +0100 From: Lukas Odzioba <lukas.odzioba@...il.com> To: john-dev@...ts.openwall.com Subject: Re: best way to get ciphertext 2011/11/21 Samuele Giovanni Tonon <samu@...uxasylum.net>: > since it looks like binary is not available inside crypt_all > (because not yet setted?) i'm wondering which is best to do to solve > the problem which in the end is quite simple: > is there a good way to crypt and compare at the same time using the same > function or shall i go with some nasty hacks ? > Has anyone found similar problem on other formats ? > > Many thanks > Samuele > I think that void *binary seen by cmp_all and crypt_all can be different places in memory. See fmt_self_test() in formats.c. Meaby you should call binary() value inside crypt_all - after some tricks it should work without additional cost. Lukas
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.