|
|
|
@ -59,13 +59,6 @@ typedef struct bcrypt_tmp
|
|
|
|
|
|
|
|
|
|
} bcrypt_tmp_t;
|
|
|
|
|
|
|
|
|
|
u32 module_pw_max (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra)
|
|
|
|
|
{
|
|
|
|
|
const u32 pw_max = 72; // Underlaying Blowfish max
|
|
|
|
|
|
|
|
|
|
return pw_max;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
u64 module_tmp_size (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra)
|
|
|
|
|
{
|
|
|
|
|
const u64 tmp_size = (const u64) sizeof (bcrypt_tmp_t);
|
|
|
|
@ -352,7 +345,7 @@ void module_init (module_ctx_t *module_ctx)
|
|
|
|
|
module_ctx->module_potfile_disable = MODULE_DEFAULT;
|
|
|
|
|
module_ctx->module_potfile_keep_all_hashes = MODULE_DEFAULT;
|
|
|
|
|
module_ctx->module_pwdump_column = MODULE_DEFAULT;
|
|
|
|
|
module_ctx->module_pw_max = module_pw_max;
|
|
|
|
|
module_ctx->module_pw_max = MODULE_DEFAULT;
|
|
|
|
|
module_ctx->module_pw_min = MODULE_DEFAULT;
|
|
|
|
|
module_ctx->module_salt_max = MODULE_DEFAULT;
|
|
|
|
|
module_ctx->module_salt_min = MODULE_DEFAULT;
|
|
|
|
|