|
Message-ID: <CANO7a6xApxbs9i1RVhan__fDx-3YfwqPcXgP628Y46x+1xMvzA@mail.gmail.com> Date: Mon, 26 Mar 2012 20:43:12 +0530 From: Dhiru Kholia <dhiru.kholia@...il.com> To: john-dev@...ts.openwall.com Subject: Re: get_salt return question On Mon, Mar 26, 2012 at 8:35 PM, jfoug <jfoug@....net> wrote: >>What happens to the return address from get_salt? Does JtR internally >>copies the data (upto SALT_SIZE) and and later gives it to set_salt? > > Yes. I believe JtR allocates a buffer, and copies it (based upon the > format's salt_size, which is usually set by SALT_SIZE being assigned to it). Understood. Will this internal saving work if the salt is complex nested data structure with some variables (in the nested structures) being dynamically allocated. I tried implementing "custom-salt" for mozilla format with no luck so far. -- Cheers, Dhiru
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.