Commit Graph

57 Commits

Author SHA1 Message Date
jsteube b99d392e78 OpenCL Runtime: Disable OpenCL kernel cache on Apple for Intel CPU (throws CL_BUILD_PROGRAM_FAILURE for no reason) 2019-03-10 10:48:37 +01:00
jsteube 540b405e3a Replace IS_ROCM with HAS_VPERM and HAS_VADD3 2019-02-24 10:12:48 +01:00
jsteube 52c52836e3 Add new option --slow-candidates which allows hashcat to generate passwords on-host 2018-09-01 12:31:17 +02:00
jsteube 05a01d3843 fix some datatypes 2018-02-08 19:13:29 +01:00
jsteube bd9c17e49a Add some missing function declarations 2018-02-06 13:06:10 +01:00
Jens Steube fb00b528c4 Improve autotune and synchronize results on same OpenCL devices 2018-02-03 13:49:39 +01:00
Jens Steube 7062425d2b OpenCL Kernels: Use a special kernel to initialize the password buffer used during autotune measurements to reduce startup time 2018-01-23 20:33:26 +01:00
jsteube bf112870a3 OpenCL Runtime: Improved detection for AMD and NV devices on OSX 2017-10-20 11:34:36 +02:00
jsteube 2e85972ec5 Add special detection for NVIDIA OpenCL devices on OSX 2017-10-20 08:39:23 +02:00
jsteube 319799bbbf Switch the datatypes of the variables responsible for work-item count and work-item size from u32 to u64 2017-08-19 16:39:22 +02:00
jsteube beb6ee2061 Add OPTI_TYPE_OPTIMIZED_KERNEL
Rename unconverted fast hash kernels to optimized kernels
Finalize some converted fast hashes to default kernels
2017-07-18 14:45:15 +02:00
jsteube 8645571a7c Improve CPU detection on AMDGPU-Pro 2016-11-14 13:05:40 +01:00
jsteube e26b08f61f Move opencl_info() to terminal.c 2016-10-25 16:40:06 +02:00
jsteube 824654e2fb Create opencl_ctx_devices_show() as an example for how to access opencl devices from library and as replacement for inlined code for -I 2016-10-25 15:43:09 +02:00
jsteube 27bec8be13 Get rid of logging.c and most exit() calls replaced with return() for true library usage 2016-10-09 22:41:55 +02:00
jsteube 0579f93402 Update opencl.c and autotune.c function parameters 2016-10-06 15:16:30 +02:00
coolbry95 a78fd4e915 changed uint to u32 2016-10-04 00:35:49 -04:00
jsteube fb3e6bab0d Finished refactoring to remove all global variables 2016-09-30 22:52:44 +02:00
jsteube ae0300dabb Rename kernel read and write function and make them static 2016-09-30 18:43:12 +02:00
jsteube 133c9295f5 Cleaned up data_t, only contexts left 2016-09-29 23:49:33 +02:00
jsteube 12a2d6d2a0 Move more stuff to status_ctx_t 2016-09-29 23:25:29 +02:00
jsteube 831ef1490b Prepare status_ctx_t 2016-09-29 22:27:04 +02:00
jsteube 84f96c4dda Add cpt_ctx_t 2016-09-29 15:19:12 +02:00
jsteube e12abeb9de Add inner2_loop() 2016-09-29 14:46:51 +02:00
jsteube f8d538413e Move pw_min and pw_max to hashconfig_t and bring back data.shutdown_* 2016-09-28 13:51:00 +02:00
jsteube 94680cb311 Move hardware_power_all, kernel_power_all and kernel_power_final to opencl_ctx_t 2016-09-28 11:49:08 +02:00
jsteube 48917b5843 Move tmp size and hook size to hashconfig_init() 2016-09-28 11:11:14 +02:00
jsteube c71f1bfb0c Introduct combinator_ctx_t 2016-09-27 18:32:09 +02:00
jsteube 67dd2e9b67 Separate rules and straight mode from each other, remove rules_ctx_t 2016-09-27 13:13:07 +02:00
jsteube edd50de047 Add opencl_session_update_mp() and opencl_session_update_mp_rl() 2016-09-27 11:43:05 +02:00
jsteube eeccb01998 Add opencl_ctx_devices_reset() 2016-09-27 10:59:02 +02:00
jsteube 69ad06ec12 Fix some casts 2016-09-26 23:42:37 +02:00
jsteube 54a4ea3db2 Large but needed refactoring of mask handling, maskfiles, default mask, etc., expect smaller bugs 2016-09-26 01:18:00 +02:00
jsteube 59ebe10b07 Move functions from filenames.c to opencl.c and shared.c 2016-09-24 21:44:43 +02:00
jsteube 62b97a6fe6 Move loading rules into outer loop 2016-09-24 12:05:56 +02:00
jsteube ca48c49575 Move OpenCL device initialization to outer loop 2016-09-23 22:23:13 +02:00
jsteube b6f966970b Move all bitmap related host code into bitmap.c 2016-09-22 16:23:36 +02:00
jsteube f9ec232b9b Get rid of attack_kern variable in data. context 2016-09-22 15:50:49 +02:00
jsteube f1d93d576a Get rid of attack_mode variable in data. context 2016-09-22 15:41:59 +02:00
jsteube 21d852b194 Get rid of benchmark variable in data. context 2016-09-22 15:07:19 +02:00
jsteube 1c9027cb03 Get rid of rule_buf_l, rule_buf_r, rule_len_l and rule_len_r in data. context 2016-09-22 12:15:13 +02:00
jsteube 1cc4358820 Introduce folder_config_t 2016-09-21 23:06:11 +02:00
jsteube c008b11de3 Make more use of new user_options_t* 2016-09-21 16:07:49 +02:00
jsteube e6f083b708 Add all defaults for user commandline parameters to user_options.h; Prepare user commandline parameter struct for easier handling of functions calls that require them 2016-09-20 16:04:22 +02:00
jsteube 9daf139fef Refactor devices_status to have better thread control 2016-09-19 15:52:01 +02:00
Gabriele Gristina fdbc44ce6c Add option for show opencl info and exit 2016-09-18 15:51:47 +02:00
jsteube caeedd5646 Move more code from hashcat.c to opencl.c related to opencl device initialization and shutdown 2016-09-17 17:05:01 +02:00
jsteube a0f6ed6832 Introduce hashes_t; not finishe yet 2016-09-16 17:01:18 +02:00
jsteube 7ce2f2ff19 Introduce opencl_ctx_t; not finished yet 2016-09-15 16:02:52 +02:00
jsteube d60e2529c1 Fix missing #endif in opencl.h 2016-09-15 09:38:21 +02:00