Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 13 Sep 2015 17:17:35 +0300
From: Aleksey Cherepanov <lyosha@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: get_hash*() might be removed with other format interface

Consider format interface where crypt_all() fills an array of integers
just like get_hash_6() returns. So we could avoid MAX_KEYS_PER_CRYPT
function calls. But we would need to move body of get_hash_*() into
caller, so we would not reduce bodies.

It would hit flexibility. For instance, dummy format uses different
ways to compute get_hash_*(). Hm, I guess it does not affect
performance at all, because only 1 get_hash_*() function is used
during the whole run of john, right?

It would hit FMT_BS formats when bitmap is not in use. For that case,
a separate method might be introduced to fill the array separately.

What do you think?

Thanks!

-- 
Regards,
Aleksey Cherepanov

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ