mirror of
https://github.com/hashcat/hashcat
synced 2024-12-09 02:13:10 +01:00
Make size_t what size_t is
This commit is contained in:
parent
ac9bc55c9e
commit
0dcec01623
@ -3874,8 +3874,8 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx)
|
|||||||
|
|
||||||
// scryptV stuff
|
// scryptV stuff
|
||||||
|
|
||||||
u32 scrypt_tmp_size = 0;
|
size_t scrypt_tmp_size = 0;
|
||||||
u32 scrypt_tmto_final = 0;
|
size_t scrypt_tmto_final = 0;
|
||||||
|
|
||||||
size_t size_scrypt = 4;
|
size_t size_scrypt = 4;
|
||||||
|
|
||||||
@ -4424,7 +4424,7 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx)
|
|||||||
}
|
}
|
||||||
else if ((opencl_ctx->force_jit_compilation == 8900) || (opencl_ctx->force_jit_compilation == 15700))
|
else if ((opencl_ctx->force_jit_compilation == 8900) || (opencl_ctx->force_jit_compilation == 15700))
|
||||||
{
|
{
|
||||||
snprintf (build_opts_update, sizeof (build_opts_update) - 1, "%s -DSCRYPT_N=%u -DSCRYPT_R=%u -DSCRYPT_P=%u -DSCRYPT_TMTO=%u -DSCRYPT_TMP_ELEM=%u", build_opts, hashes->salts_buf[0].scrypt_N, hashes->salts_buf[0].scrypt_r, hashes->salts_buf[0].scrypt_p, 1u << scrypt_tmto_final, scrypt_tmp_size / 16);
|
snprintf (build_opts_update, sizeof (build_opts_update) - 1, "%s -DSCRYPT_N=%u -DSCRYPT_R=%u -DSCRYPT_P=%u -DSCRYPT_TMTO=%u -DSCRYPT_TMP_ELEM=%" PRIu64, build_opts, hashes->salts_buf[0].scrypt_N, hashes->salts_buf[0].scrypt_r, hashes->salts_buf[0].scrypt_p, 1u << scrypt_tmto_final, (u64) scrypt_tmp_size / 16);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user