Commit Graph

369 Commits (68d6d36761e7f5ddb3b58cb90b6a89e8fe9e088a)

Author SHA1 Message Date
Jens Steube fe321105fe No need to copy empty compression buffers
6 years ago
Jens Steube c7ae5fb7f0 Do not run more run a kernel with more threads than workitems
6 years ago
Jens Steube 07f119c28b Fix -a 7 of fast hashes in optimized mode
6 years ago
Jens Steube d965475b28 Replace a missing while() with round_up_multiple_64()
6 years ago
Jens Steube 1af8e29a4b Add round_up_multiple_32() and round_up_multiple_64()
6 years ago
jsteube 98b20526f4 Fix missing cleanup for new AUX kernels
6 years ago
jsteube 8053a05594 Use kernel specific max thread counts for helper kernel, not device specific
6 years ago
jsteube fe4413797e OpenCL Kernels: Use three separate comparison kernels (depending on keyver) for WPA instead of one
6 years ago
Jens Steube 31da893a40 Enforce 2GB host memory per GPU limit
6 years ago
jsteube 91e522d094 Add special marker for speed only mode
6 years ago
jsteube 240652a0ff Move speed timer initialization from run_cracker() to run_copy()
6 years ago
jsteube c4f30220a0 OpenCL Kernels: Refactored kernel thread management from native to maximum per kernel
6 years ago
Jens Steube d38608b9bc Add get_kernel_preferred_wgs_multiple() for future use
6 years ago
Jens Steube 1f442b5b0c Add get_kernel_local_mem_size() for future use
6 years ago
jsteube ce8f445ebe Fix a few warnings and divide by zero (speed_pos)
6 years ago
Jens Steube d656e9c3a4 OpenCL Kernels: Use the kernel local buffer size as additional reference in order to limit the thread-count
6 years ago
jsteube a7a15df911 OpenCL Kernels: Improve performance preview accuracy in --benchmark, --speed-only and --progress-only mode
6 years ago
Jens Steube fd89cac052 No longer need to warm-up OpenCL device for benchmark with new thread settings
6 years ago
Jens Steube fa379074b6 Fixed a logic error in storing temporary progress for slow hashes,leading to invalid speeds in status view
6 years ago
Jens Steube b0ff625844 OpenCL Kernels: Thread-count is switched from native to maximum - as a consequence we assume host memory pool of 2GB per GPU
6 years ago
Jens Steube 9b1e66d87c Fixed a race condition in combinator- and hybrid-mode where the same scratch buffer was used by multiple threads
6 years ago
jsteube 05a01d3843 fix some datatypes
6 years ago
jsteube 98abea9a0f Fix one more technical teething trouble with compressor kernels
6 years ago
jsteube 3dcacb5f55 Fix hc_clEnqueueReadBuffer buffer size in gidd_to_pw_t()
6 years ago
jsteube bd9c17e49a Add some missing function declarations
6 years ago
jsteube e59d5fd25e sometimes device_global_mem and device_maxmem_alloc reportedback from the opencl runtime are a bit inaccurate.
6 years ago
jsteube a3a16f676f OpenCL Kernels: Add a decompressing kernel and a compressing host code in order to reduce PCIe transfer time
6 years ago
Jens Steube fb00b528c4 Improve autotune and synchronize results on same OpenCL devices
6 years ago
jsteube 76a3e3f7af OpenCL Runtime: Add current timestamp to OpenCL kernel source in order to force OpenCL JiT compiler to recompile and not use the cache
6 years ago
jsteube a8ca6862bf OpenCL Runtime: Enforce to use OpenCL version 1.2 to restrain OpenCL runtimes to make use of the __generic address space qualifier
6 years ago
jsteube c34670c567 OpenCL Devices: Fixed several memory leaks in shutdown phase
6 years ago
jsteube 5b527f6aa6 Removed debugging code
6 years ago
jsteube 68b1ea4b68 OpenCL Runtime: Updated rocm detection
6 years ago
Jens Steube 7062425d2b OpenCL Kernels: Use a special kernel to initialize the password buffer used during autotune measurements to reduce startup time
6 years ago
jsteube 77f7ea52a5 Fix missing defined keyword
7 years ago
Rosen Penev aece2cc4be Get rid of hc_ctime too. Also fix some cppcheck confusion with nvapi.
7 years ago
Rosen Penev 1c5915cae3 remove special time handling in hashcat.
7 years ago
Jens Steube f2ce04e912 Allow relative use of -I in build_opts
7 years ago
jsteube 8ec2af97ed Eventual fix for unicode folder name issue on windows
7 years ago
jsteube b864fa5ba7 Removed option --gpu-temp-retain that tried to retain GPU temperature at X degrees celsius, please use driver specific tools
7 years ago
philsmd 9d58ddd9f6
fixed strtok_r () calls, could prevent memory crashes
7 years ago
Rosen Penev 8458f07a57 Replace char[] with *char
7 years ago
Jens Steube ea5425b344
Merge pull request #1439 from neheb/master
7 years ago
philsmd 227a5aa092
fix #1435: --show/--left hash parsing fixed for hashes with long salts
7 years ago
jsteube f8c687f529 Fixed compile of kernels on AMD systems on windows due to invalid detection of ROCm
7 years ago
Rosen Penev 1109017a53 Change atoi family to strtol family
7 years ago
Rosen Penev 3ba84f17f1 More clang tidy fixes
7 years ago
jsteube 28b76bd387 Do not use run_kernel_memset() for password candidate initialization in autotune
7 years ago
jsteube c6390deeb1 Remove temporary warmup for benchmark
7 years ago
jsteube d0f5c9f2b3 Rename MacOS to macOS
7 years ago
Jens Steube 9568837b12 Revert "Replace PRIu64 with ju. Less verbose."
7 years ago
jsteube 980f04a7b6 Rename instances of OSX to MacOS
7 years ago
jsteube bf112870a3 OpenCL Runtime: Improved detection for AMD and NV devices on OSX
7 years ago
jsteube 2e85972ec5 Add special detection for NVIDIA OpenCL devices on OSX
7 years ago
Rosen Penev 869b5fb522 Replace PRIu64 with ju. Less verbose.
7 years ago
jsteube b99eb92b56 Re-enable amdgpu-pro, do some warm-up in benchmark mode
7 years ago
jsteube cf1ed8d75c Update ROCm requirement
7 years ago
jsteube 048b14f6c6 Fix missed set of attribute skipped_temp
7 years ago
jsteube d7da964a7c Fix missed set of attribute skipped_temp
7 years ago
jsteube 84312bfae6 Fix missed set of attribute skipped_temp
7 years ago
jsteube e16e878e59 Update potential trap 6 (apple only) algorithms, user can override with --force
7 years ago
jsteube 583849cd23 Fix missing free() for memory allocated with asprintf()
7 years ago
jsteube 6c251d48a4 Fixed format type in debugging log
7 years ago
Rosen Penev 4ba19fa7c1 replace more snprintf calls with hc_asprintf.
7 years ago
Rosen Penev ec55209254 remove hc_sleep and _msec.
7 years ago
jsteube 81c2ab2ded OpenCL Runtime: On AMD GPU, recommend AMD ROCm driver for Linux
7 years ago
jsteube 617dbb97ba Prepare migration -m 15800 into -m 2500
7 years ago
jsteube 2b4be5d093 Move AMD ROCm driver check out of a --force condition
7 years ago
Jens Steube 3e597f4c7b Revert use of zero-copy for main password buffer using CL_MEM_ALLOC_HOST_PTR and hc_clEnqueueMapBuffer()
7 years ago
Jens Steube 8fb583f0a7 Simplify kernel thread calculation for SCRYPT based algorithms
7 years ago
jsteube 86f67517a0 Allow higher number of kernel_loops for -a 0 mode in case they are slow hashes
7 years ago
jsteube 35a24df55e Fixed an integer overflow in hash buffer size calculation
7 years ago
jsteube 2bc2137203 Remove some debugging statement
7 years ago
jsteube 688a580d6c Fixed an integer overflow in innerloop_step and innerloop_cnt variables
7 years ago
jsteube 1d04de3a8e Limit kernel-loops in straight-mode to 256, therefore allow rules to be stored in constant memory
7 years ago
jsteube 51372438fe Allow OpenCL kernel inline assembly if ROCm drivers was detected
7 years ago
jsteube 18c8de3428 Use zero-copy for main password buffer using CL_MEM_ALLOC_HOST_PTR and hc_clEnqueueMapBuffer()
7 years ago
jsteube 12d95fd22c Added option --example-hashes to show an example hash for each hash-mode
7 years ago
jsteube 1432446734 Fix initialization of size_pws_amp
7 years ago
jsteube 58d1dedd1e OpenCL Buffers: Do not allocate memory for amplifiers for fast hashes, it's simply not needed
7 years ago
jsteube 319799bbbf Switch the datatypes of the variables responsible for work-item count and work-item size from u32 to u64
7 years ago
jsteube c8da13c3aa Update default scrypt tmto to be ideal for latest NV and AMD top models
7 years ago
jsteube 9a46442a80 Fix CPU performance for slow hashes with SIMD
7 years ago
jsteube 0dcec01623 Make size_t what size_t is
7 years ago
jsteube 34d882a116 Rename inc_rp.X to inc_rp_optimized.X
7 years ago
jsteube f5ee3db5a6 Update cpu rule engine to support passwords up to length 256
7 years ago
jsteube 6379e76bc8 No need for handling OPTS_TYPE_PT_ADD80 and OPTS_TYPE_PT_ADD01 in non-optimized combinator mode
7 years ago
jsteube a0b30dc9a3 Forcing OpenCL 1.2 no longer needed; all OpenCL runtimes updated
7 years ago
jsteube f6f22f6616 Use a different cache hash for amp and mp kernel
7 years ago
jsteube b847bbb274 Fix calculation of device_name_chksum; should be done for each iteration
7 years ago
jsteube 03bb234045 Preparation for WPA/WPA2 AES-CMAC: works till PMK
7 years ago
jsteube beb6ee2061 Add OPTI_TYPE_OPTIMIZED_KERNEL
7 years ago
jsteube fbea72ebd6 Renamed default kernels to optimized kernels
7 years ago
Jens Steube 04bb6a46ef There's a problem with Intels OpenCL runtime. The JiT hangs while trying to compile, for example mode 1700 in -L mode.
7 years ago
jsteube 99f58f90a4 Fix some compiler warning on unused variables
7 years ago
jsteube 8fe0a36b30 OpenCL Runtime: Updated AMD ROCm driver version check, warn if version < 1.1
7 years ago
jsteube a1e3b20902 Add ROCm to the list of supported AMD platforms
7 years ago
jsteube 8abd7ae9d1 Fix some old GCC compiler warnings
7 years ago
jsteube fc100a852b Added hash-mode 2501 = WPA/WPA2 PMK
7 years ago
jsteube 52c1e15f3f Move kernel-code for -L to standalone files with -pure suffix
7 years ago