Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANJ2NMPwzEvmN7eNmpjk=t1epriv9vHAgQVqeQekZyxDS_DLXg@mail.gmail.com>
Date: Mon, 9 Jul 2012 23:36:07 +0800
From: myrice <qqlddg@...il.com>
To: john-dev@...ts.openwall.com
Subject: Get hash number in cmp_all()

Hi Solar, all



Current my loaded hash on GPU have fixed size(4000). I want to
allocate actually hash size when we get hash number. However, the hash
number in database is invisible to me. Here are 2 ways to get it.

1. Reallocate the memory when hash number exceeds the pre-defined
size. Is it a good idea to add mem_realloc() to memory.c?
2. Remove "static" and declare database as extern variable in my format

Which do you think is better?

Thanks
myrice

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.