Home
last modified time | relevance | path

Searched refs:device_param (Results 1 – 25 of 212) sorted by relevance

123456789

/dports/security/hashcat/hashcat-6.2.5/src/
H A Dselftest.c30 device_param->kernel_params[15] = &device_param->cuda_d_st_digests_buf; in selftest()
31 device_param->kernel_params[17] = &device_param->cuda_d_st_salts_buf; in selftest()
32 device_param->kernel_params[18] = &device_param->cuda_d_st_esalts_buf; in selftest()
37 device_param->kernel_params[15] = &device_param->hip_d_st_digests_buf; in selftest()
38 device_param->kernel_params[17] = &device_param->hip_d_st_salts_buf; in selftest()
39 device_param->kernel_params[18] = &device_param->hip_d_st_esalts_buf; in selftest()
44 device_param->kernel_params[15] = &device_param->opencl_d_st_digests_buf; in selftest()
45 device_param->kernel_params[17] = &device_param->opencl_d_st_salts_buf; in selftest()
46 device_param->kernel_params[18] = &device_param->opencl_d_st_esalts_buf; in selftest()
446 device_param->kernel_threads = device_param->kernel_threads_min; in selftest()
[all …]
H A Dbackend.c4531 hook_thread_param->device_param = device_param; in choose_kernel()
4677 hook_thread_param->device_param = device_param; in choose_kernel()
12393 device_param->kernel_params[ 3] = &device_param->cuda_d_bfs_c; in backend_session_begin()
12421 device_param->kernel_params[ 3] = &device_param->hip_d_bfs_c; in backend_session_begin()
12437 device_param->kernel_params[19] = &device_param->hip_d_result; in backend_session_begin()
14976 device_param->kernel_params[ 4] = &device_param->cuda_d_tmps; in backend_session_begin()
14977 device_param->kernel_params[ 5] = &device_param->cuda_d_hooks; in backend_session_begin()
14983 device_param->kernel_params[ 4] = &device_param->hip_d_tmps; in backend_session_begin()
14984 device_param->kernel_params[ 5] = &device_param->hip_d_hooks; in backend_session_begin()
15647 if (device_param->pws_comp) memset (device_param->pws_comp, 0, device_param->size_pws_comp); in backend_session_reset()
[all …]
H A Dautotune.c267 device_param->kernel_threads = device_param->kernel_wgs1; in autotune()
273 device_param->kernel_threads = device_param->kernel_wgs2p; in autotune()
442 …if (run_cuda_kernel_bzero (hashcat_ctx, device_param, device_param->cuda_d_pws_buf, device_param->… in autotune()
448 …if (run_cuda_kernel_bzero (hashcat_ctx, device_param, device_param->cuda_d_result, device_param->s… in autotune()
450 …if (run_cuda_kernel_bzero (hashcat_ctx, device_param, device_param->cuda_d_tmps, device_param->siz… in autotune()
455 …if (run_hip_kernel_bzero (hashcat_ctx, device_param, device_param->hip_d_pws_buf, device_param->si… in autotune()
457 …if (run_hip_kernel_bzero (hashcat_ctx, device_param, device_param->hip_d_plain_bufs, device_param-… in autotune()
461 …if (run_hip_kernel_bzero (hashcat_ctx, device_param, device_param->hip_d_result, device_param->siz… in autotune()
463 …if (run_hip_kernel_bzero (hashcat_ctx, device_param, device_param->hip_d_tmps, device_param->size_… in autotune()
468 …if (run_opencl_kernel_bzero (hashcat_ctx, device_param, device_param->opencl_d_pws_buf, device_par… in autotune()
[all …]
H A Ddispatch.c194 memset (device_param->pws_comp, 0, device_param->size_pws_comp); in calc_stdin()
195 memset (device_param->pws_idx, 0, device_param->size_pws_idx); in calc_stdin()
201 while (device_param->pws_cnt < device_param->kernel_power) in calc_stdin()
303 if (run_copy (hashcat_ctx, device_param, device_param->pws_cnt) == -1) in calc_stdin()
324 device_param->kernel_accel_prev = device_param->kernel_accel; in calc_stdin()
325 device_param->kernel_loops_prev = device_param->kernel_loops; in calc_stdin()
326 device_param->kernel_threads_prev = device_param->kernel_threads; in calc_stdin()
1061 memset (device_param->pws_idx, 0, device_param->size_pws_idx); in calc()
1584 device_param->kernel_accel_prev = device_param->kernel_accel; in calc()
1585 device_param->kernel_loops_prev = device_param->kernel_loops; in calc()
[all …]
H A Dstatus.c824 if ((device_param->skipped == true) || (device_param->skipped_warning == true)) in status_get_guess_candidates_dev()
1463 if ((device_param->skipped == false) && (device_param->skipped_warning == false)) in status_get_hashes_msec_dev()
1498 if ((device_param->skipped == false) && (device_param->skipped_warning == false)) in status_get_hashes_msec_dev_benchmark()
1538 if ((device_param->skipped == false) && (device_param->skipped_warning == false)) in status_get_exec_msec_dev()
1753 if ((device_param->skipped == false) && (device_param->skipped_warning == false)) in status_get_salt_pos_dev()
1769 if ((device_param->skipped == false) && (device_param->skipped_warning == false)) in status_get_innerloop_pos_dev()
1785 if ((device_param->skipped == false) && (device_param->skipped_warning == false)) in status_get_innerloop_left_dev()
1801 if ((device_param->skipped == false) && (device_param->skipped_warning == false)) in status_get_iteration_pos_dev()
2167 if (device_param->kernel_accel_prev) return device_param->kernel_accel_prev; in status_get_kernel_accel_dev()
2182 if (device_param->kernel_loops_prev) return device_param->kernel_loops_prev; in status_get_kernel_loops_dev()
[all …]
H A Dstdout.c124 const u32 off = device_param->innerloop_pos + il_pos; in process_stdout()
175 char *comb_buf = (char *) device_param->combs_buf[il_pos].i; in process_stdout()
206 u32 l_start = device_param->kernel_params_mp_l_buf32[5]; in process_stdout()
207 u32 r_start = device_param->kernel_params_mp_r_buf32[5]; in process_stdout()
209 u32 l_stop = device_param->kernel_params_mp_l_buf32[4]; in process_stdout()
210 u32 r_stop = device_param->kernel_params_mp_r_buf32[4]; in process_stdout()
245 u64 off = device_param->kernel_params_mp_buf64[3] + il_pos; in process_stdout()
248 u32 stop = device_param->kernel_params_mp_buf32[4]; in process_stdout()
275 u64 off = device_param->kernel_params_mp_buf64[3] + gidvid; in process_stdout()
278 u32 stop = device_param->kernel_params_mp_buf32[4]; in process_stdout()
[all …]
H A Doutfile.c154 const u64 off = device_param->innerloop_pos + il_pos; in build_plain()
226 u32 l_stop = device_param->kernel_params_mp_l_buf32[4]; in build_plain()
227 u32 r_stop = device_param->kernel_params_mp_r_buf32[4]; in build_plain()
252 u32 stop = device_param->kernel_params_mp_buf32[4]; in build_plain()
278 u32 stop = device_param->kernel_params_mp_buf32[4]; in build_plain()
297 u32 stop = device_param->kernel_params_mp_buf32[4]; in build_plain()
389 u64 crackpos = device_param->words_off; in build_crackpos()
401 crackpos += device_param->innerloop_pos + il_pos; in build_crackpos()
407 crackpos += device_param->innerloop_pos + il_pos; in build_crackpos()
413 crackpos += device_param->innerloop_pos + il_pos; in build_crackpos()
[all …]
H A Dterminal.c795 if (device_param->device_id_alias_cnt) in backend_info()
855 if (device_param->device_id_alias_cnt) in backend_info()
919 if (device_param->device_id_alias_cnt) in backend_info()
942 u8 pcie_bus = device_param->pcie_bus; in backend_info()
943 u8 pcie_device = device_param->pcie_device; in backend_info()
944 u8 pcie_function = device_param->pcie_function; in backend_info()
946 …if ((device_param->opencl_platform_vendor_id == VENDOR_ID_AMD) && (device_param->opencl_device_ven… in backend_info()
951 …if ((device_param->opencl_platform_vendor_id == VENDOR_ID_NV) && (device_param->opencl_device_vend… in backend_info()
1003 if ((device_param->skipped == false) && (device_param->skipped_warning == false)) in backend_info_compact()
1067 if ((device_param->skipped == false) && (device_param->skipped_warning == false)) in backend_info_compact()
[all …]
H A Dhwmon.c1335 if (device_param->is_cuda == true) in hwmon_ctx_init()
1363 if (device_param->is_opencl == true) in hwmon_ctx_init()
1414 if (device_param->is_cuda == true) in hwmon_ctx_init()
1505 if (device_param->is_cuda == true) in hwmon_ctx_init()
1510 if ((device_param->is_opencl == true) || (device_param->is_hip == true)) in hwmon_ctx_init()
1563 if (device_param->is_cuda == true) in hwmon_ctx_init()
1568 if ((device_param->is_opencl == true) || (device_param->is_hip == true)) in hwmon_ctx_init()
1610 if (device_param->is_cuda == true) in hwmon_ctx_init()
1615 if ((device_param->is_opencl == true) || (device_param->is_hip == true)) in hwmon_ctx_init()
1684 if (device_param->is_cuda == true) in hwmon_ctx_init()
[all …]
H A Dhashes.c324 if (device_param->is_cuda == true) in check_hash()
330 rc = hc_cuEventRecord (hashcat_ctx, device_param->cuda_event3, device_param->cuda_stream); in check_hash()
341 if (device_param->is_hip == true) in check_hash()
347 rc = hc_hipEventRecord (hashcat_ctx, device_param->hip_event3, device_param->hip_stream); in check_hash()
563 if (device_param->is_cuda == true) in check_cracked()
570 if (device_param->is_hip == true) in check_cracked()
577 if (device_param->is_opencl == true) in check_cracked()
593 if (device_param->is_cuda == true) in check_cracked()
610 if (device_param->is_hip == true) in check_cracked()
744 if (device_param->is_cuda == true) in check_cracked()
[all …]
H A Dwordlist.c252 if (device_param->pws_pre_cnt < device_param->kernel_power) in pw_pre_add()
254 pw_pre_t *pw_pre = device_param->pws_pre_buf + device_param->pws_pre_cnt; in pw_pre_add()
269 device_param->pws_pre_cnt++; in pw_pre_add()
279 void pw_base_add (hc_device_param_t *device_param, pw_pre_t *pw_pre) in pw_base_add() argument
281 if (device_param->pws_base_cnt < device_param->kernel_power) in pw_base_add()
283 memcpy (device_param->pws_base_buf + device_param->pws_base_cnt, pw_pre, sizeof (pw_pre_t)); in pw_base_add()
285 device_param->pws_base_cnt++; in pw_base_add()
297 if (device_param->pws_cnt < device_param->kernel_power) in pw_add()
299 pw_idx_t *pw_idx = device_param->pws_idx + device_param->pws_cnt; in pw_add()
308 u8 *dst = (u8 *) (device_param->pws_comp + pw_idx->off); in pw_add()
[all …]
H A Dmonitor.c119 hc_device_param_t *device_param = &backend_ctx->devices_param[backend_devices_idx]; in monitor() local
121 if (device_param->skipped == true) continue; in monitor()
151 hc_device_param_t *device_param = &backend_ctx->devices_param[backend_devices_idx]; in monitor() local
153 if (device_param->skipped == true) continue; in monitor()
155 if (device_param->skipped_warning == true) continue; in monitor()
261 hc_device_param_t *device_param = &backend_ctx->devices_param[backend_devices_idx]; in monitor() local
263 if (device_param->skipped == true) continue; in monitor()
265 if (device_param->skipped_warning == true) continue; in monitor()
H A Dbrain.c826 if (device_param) in brain_send_all()
835 if (device_param) in brain_send_all()
852 if (device_param) in brain_send_all()
859 if (device_param) in brain_send_all()
875 if (device_param) in brain_send_all()
887 if (device_param) in brain_recv_all()
896 if (device_param) in brain_recv_all()
913 if (device_param) in brain_recv_all()
920 if (device_param) in brain_recv_all()
936 if (device_param) in brain_recv_all()
[all …]
/dports/security/hashcat/hashcat-6.2.5/src/modules/
H A Dmodule_08900.c162 = device_param->size_bfs in module_extra_buffer_size()
163 + device_param->size_combs in module_extra_buffer_size()
164 + device_param->size_digests in module_extra_buffer_size()
165 + device_param->size_esalts in module_extra_buffer_size()
167 + device_param->size_plains in module_extra_buffer_size()
168 + device_param->size_results in module_extra_buffer_size()
170 + device_param->size_rules in module_extra_buffer_size()
171 + device_param->size_rules_c in module_extra_buffer_size()
172 + device_param->size_salts in module_extra_buffer_size()
173 + device_param->size_shown in module_extra_buffer_size()
[all …]
H A Dmodule_22700.c162 = device_param->size_bfs in module_extra_buffer_size()
163 + device_param->size_combs in module_extra_buffer_size()
164 + device_param->size_digests in module_extra_buffer_size()
165 + device_param->size_esalts in module_extra_buffer_size()
167 + device_param->size_plains in module_extra_buffer_size()
168 + device_param->size_results in module_extra_buffer_size()
170 + device_param->size_rules in module_extra_buffer_size()
171 + device_param->size_rules_c in module_extra_buffer_size()
172 + device_param->size_salts in module_extra_buffer_size()
173 + device_param->size_shown in module_extra_buffer_size()
[all …]
H A Dmodule_27700.c160 = device_param->size_bfs in module_extra_buffer_size()
161 + device_param->size_combs in module_extra_buffer_size()
162 + device_param->size_digests in module_extra_buffer_size()
163 + device_param->size_esalts in module_extra_buffer_size()
165 + device_param->size_plains in module_extra_buffer_size()
166 + device_param->size_results in module_extra_buffer_size()
168 + device_param->size_rules in module_extra_buffer_size()
169 + device_param->size_rules_c in module_extra_buffer_size()
170 + device_param->size_salts in module_extra_buffer_size()
171 + device_param->size_shown in module_extra_buffer_size()
[all …]
H A Dmodule_09300.c154 = device_param->size_bfs in module_extra_buffer_size()
155 + device_param->size_combs in module_extra_buffer_size()
156 + device_param->size_digests in module_extra_buffer_size()
157 + device_param->size_esalts in module_extra_buffer_size()
159 + device_param->size_plains in module_extra_buffer_size()
160 + device_param->size_results in module_extra_buffer_size()
162 + device_param->size_rules in module_extra_buffer_size()
163 + device_param->size_rules_c in module_extra_buffer_size()
164 + device_param->size_salts in module_extra_buffer_size()
165 + device_param->size_shown in module_extra_buffer_size()
[all …]
H A Dmodule_15700.c175 = device_param->size_bfs in module_extra_buffer_size()
176 + device_param->size_combs in module_extra_buffer_size()
177 + device_param->size_digests in module_extra_buffer_size()
178 + device_param->size_esalts in module_extra_buffer_size()
180 + device_param->size_plains in module_extra_buffer_size()
181 + device_param->size_results in module_extra_buffer_size()
183 + device_param->size_rules in module_extra_buffer_size()
184 + device_param->size_rules_c in module_extra_buffer_size()
185 + device_param->size_salts in module_extra_buffer_size()
186 + device_param->size_shown in module_extra_buffer_size()
[all …]
H A Dmodule_03000.c51 …const user_options_extra_t *user_options_extra, MAYBE_UNUSED const hc_device_param_t *device_param) in module_unstable_warning() argument
54 …if ((device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE) && (device_param->opencl_device_t… in module_unstable_warning()
62 …ons_extra, MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED const hc_device_param_t *device_param) in module_jit_build_options() argument
67 if (device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE) in module_jit_build_options()
73 …if ((device_param->opencl_device_vendor_id == VENDOR_ID_INTEL_SDK) && (device_param->opencl_device… in module_jit_build_options()
79 …if ((device_param->opencl_device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == false)) in module_jit_build_options()
85 if (device_param->opencl_device_vendor_id == VENDOR_ID_AMD_USE_HIP) in module_jit_build_options()
91 if ((device_param->opencl_device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == true)) in module_jit_build_options()
H A Dmodule_09000.c75 …ons_extra, MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED const hc_device_param_t *device_param) in module_jit_build_options() argument
85 if (device_param->is_cuda == true) in module_jit_build_options()
95 if (device_param->opencl_device_type & CL_DEVICE_TYPE_CPU) in module_jit_build_options()
103 if (device_param->opencl_device_vendor_id == VENDOR_ID_NV) in module_jit_build_options()
111 if (device_param->is_opencl == true) in module_jit_build_options()
123 if ((fixed_local_size * 4096) > device_param->kernel_dynamic_local_mem_size_memset) in module_jit_build_options()
127 fixed_local_size = device_param->kernel_dynamic_local_mem_size_memset / 4096; in module_jit_build_options()
134 if ((fixed_local_size * 4096) > (device_param->device_local_mem_size - overhead)) in module_jit_build_options()
138 fixed_local_size = (device_param->device_local_mem_size - overhead) / 4096; in module_jit_build_options()
152 const u32 fixed_local_size = device_param->kernel_dynamic_local_mem_size_memset / 4096; in module_jit_build_options()
[all …]
H A Dmodule_01500.c46 …const user_options_extra_t *user_options_extra, MAYBE_UNUSED const hc_device_param_t *device_param) in module_unstable_warning() argument
49 …if ((device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE) && (device_param->opencl_device_t… in module_unstable_warning()
59 …if ((device_param->opencl_device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == false)) in module_unstable_warning()
135 …ons_extra, MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED const hc_device_param_t *device_param) in module_jit_cache_disable() argument
145 …ons_extra, MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED const hc_device_param_t *device_param) in module_jit_build_options() argument
150 if (device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE) in module_jit_build_options()
160 …if ((device_param->opencl_device_vendor_id == VENDOR_ID_INTEL_SDK) && (device_param->opencl_device… in module_jit_build_options()
168 …else if ((device_param->opencl_device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == t… in module_jit_build_options()
176 else if (device_param->opencl_device_vendor_id == VENDOR_ID_AMD_USE_HIP) in module_jit_build_options()
H A Dmodule_14000.c46 …const user_options_extra_t *user_options_extra, MAYBE_UNUSED const hc_device_param_t *device_param) in module_unstable_warning() argument
49 …if ((device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE) && (device_param->opencl_device_t… in module_unstable_warning()
57 …ons_extra, MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED const hc_device_param_t *device_param) in module_jit_build_options() argument
62 if (device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE) in module_jit_build_options()
68 …if ((device_param->opencl_device_vendor_id == VENDOR_ID_INTEL_SDK) && (device_param->opencl_device… in module_jit_build_options()
74 …if ((device_param->opencl_device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == false)) in module_jit_build_options()
80 if (device_param->opencl_device_vendor_id == VENDOR_ID_AMD_USE_HIP) in module_jit_build_options()
86 if ((device_param->opencl_device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == true)) in module_jit_build_options()
H A Dmodule_25600.c69 …ons_extra, MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED const hc_device_param_t *device_param) in module_jit_cache_disable() argument
84 if (device_param->is_cuda == true) in module_jit_build_options()
94 if (device_param->opencl_device_type & CL_DEVICE_TYPE_CPU) in module_jit_build_options()
102 if (device_param->opencl_device_vendor_id == VENDOR_ID_NV) in module_jit_build_options()
110 if (device_param->is_opencl == true) in module_jit_build_options()
122 if ((fixed_local_size * 4096) > device_param->kernel_dynamic_local_mem_size_memset) in module_jit_build_options()
126 fixed_local_size = device_param->kernel_dynamic_local_mem_size_memset / 4096; in module_jit_build_options()
133 if ((fixed_local_size * 4096) > (device_param->device_local_mem_size - overhead)) in module_jit_build_options()
137 fixed_local_size = (device_param->device_local_mem_size - overhead) / 4096; in module_jit_build_options()
151 const u32 fixed_local_size = device_param->kernel_dynamic_local_mem_size_memset / 4096; in module_jit_build_options()
[all …]
/dports/security/hashcat/hashcat-6.2.5/include/
H A Dbackend.h173 int gidd_to_pw_t (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, const u64 gidd, pw_t…
177 int run_cuda_kernel_atinit (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, C…
178 int run_cuda_kernel_utf8toutf16le (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, C…
189 int run_opencl_kernel_atinit (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, c…
190 int run_opencl_kernel_utf8toutf16le (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, c…
193 int run_opencl_kernel_bzero (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, c…
196 int run_kernel_mp (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, const u…
197 int run_kernel_tm (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param);
198 int run_kernel_amp (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, const u…
199 int run_kernel_decompress (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, const u…
[all …]
H A Dbrain.h204 … (int sockfd, void *buf, size_t len, int flags, hc_device_param_t *device_param, const status_c…
205 … (int sockfd, void *buf, size_t len, int flags, hc_device_param_t *device_param, const status_c…
206 … (int sockfd, void *buf, size_t len, int flags, hc_device_param_t *device_param, const status_c…
207 … (int sockfd, void *buf, size_t len, int flags, hc_device_param_t *device_param, const status_c…
209 bool brain_client_reserve (hc_device_param_t *device_param, const status_ctx_t *statu…
210 bool brain_client_commit (hc_device_param_t *device_param, const status_ctx_t *statu…
211 bool brain_client_lookup (hc_device_param_t *device_param, const status_ctx_t *statu…
212 bool brain_client_connect (hc_device_param_t *device_param, const status_ctx_t *statu…
213 void brain_client_disconnect (hc_device_param_t *device_param);

123456789