Date: Wed, 18 Jul 2012 06:13:29 +0400 From: Solar Designer <solar@...nwall.com> To: john-dev@...ts.openwall.com Subject: reset() myrice, magnum, Jim, all - Here's how I am introducing reset() - a format method that may transfer salts/hashes to GPU. /* Called whenever the set of password hashes being cracked changes, such as * after self-test, but before actual cracking starts. When called before a * self-test or benchmark rather than before actual cracking, db may be NULL. * Normally, this is a no-op since a format implementation shouldn't mess with * the database unnecessarily. However, when there is a good reason to do so * this may e.g. transfer the salts and hashes onto a GPU card. */ void (*reset)(struct db_main *db); john-188.8.131.52+done-reset-1.diff is relative to the patch introducing done(), which I posted previously. john-184.108.40.206-reset-1.diff is relative to 220.127.116.11 as found in CVS. Unfortunately, the existing self-test won't be able to test such formats for real (including their on-GPU storage of salts/hashes). We may revise the approach to self-testing later. Alexander View attachment "john-18.104.22.168+done-reset-1.diff" of type "text/plain" (6721 bytes) View attachment "john-22.214.171.124-reset-1.diff" of type "text/plain" (10721 bytes)
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.