Jukka Ojanen
4bd7363674
Add missing HIP declarations
2021-07-25 22:18:16 +03:00
Jukka Ojanen
fafd24237d
Define HC_ALIGN macro to control data alignment and use common constant zero buffer in run_cuda_kernel_bzero(), run_hip_kernel_bzero() and run_opencl_kernel_bzero().
2021-07-22 14:24:03 +03:00
Jens Steube
5024865d87
Kernel Threads: Use warp size / wavefront size query instead of hardcoded values as base for kernel threads
...
Kernel Cache: Add kernel threads into hash computation which is later used in the kernel cache filename
Remove some unused function symbol lookups in HIP library
2021-07-22 11:46:47 +02:00
Jens Steube
c990e252d3
Added option --multiply-accel-disable (short: -M) to disable multiply the kernel-accel with the multiprocessor count automatism
2021-07-21 15:47:05 +02:00
Jukka Ojanen
8674e23d79
Add async HIP memcpy functions: hc_hipMemcpyDtoDAsync(), hc_hipMemcpyDtoHAsync() and hc_hipMemcpyHtoDAsync(). Implement partially async HIP memset and bzero kernels.
2021-07-20 12:47:10 +03:00
Jukka Ojanen
4263cafdcf
Add async CUDA memcpy functions: hc_cuMemcpyDtoDAsync(), hc_cuMemcpyDtoHAsync() and hc_cuMemcpyHtoDAsync(). Implement partially async CUDA memset and bzero kernels.
2021-07-20 12:23:39 +03:00
Jukka Ojanen
ea5180ac46
Include missing bzero kernel parameters
2021-07-20 11:59:44 +03:00
Jukka Ojanen
a2a1d04bcf
Implement gpu_bzero
2021-07-17 19:00:10 +03:00
Jens Steube
1ab56afb9e
Merge pull request #2874 from hashcat/master
...
Backports from master
2021-07-12 08:57:50 +02:00
Jens Steube
ca3beacd93
Disable dynamic shared memory on HIP, because hipFuncSetAttribute() maps to cudaFuncSetAttribute() and not to cuFuncSetAttribute()
2021-07-11 14:30:49 +02:00
Jens Steube
92cf955ae6
Merge pull request #2872 from jtojanen/master
...
Use critical section instead of mutex in Windows
2021-07-11 13:43:11 +02:00
Jens Steube
1b84a9e53b
Add missing backports from code base v6.2.2
...
Fix context to thread management
Fix missing code in selftest.c, autotune.c, hashes.c, dispatch.c and backend.c
Use IS_HIP depending code makes it easier for future optimization related to inline assembly calls - instead of using IS_CUDA || IS_HIP
See TODO markers for more optimizations / next steps
2021-07-11 12:38:59 +02:00
Jens Steube
a22f8149fc
Merge branch 'HIP' into hip
2021-07-10 21:34:09 +02:00
Jukka Ojanen
2fd0a81f93
Use critical section instead of mutex in Windows
2021-07-10 16:29:40 +03:00
Jens Steube
9fc6c26f8c
Added temperature watchdog and utilization for CPU on linux using sysfs and procfs
2021-07-10 14:24:51 +02:00
Jens Steube
bfe83ec138
Added temperature watchdog for CPU on linux using sysfs
2021-07-10 08:43:15 +02:00
Jens Steube
979f9e9868
Rename hardware monitor interface sysfs to sysfs_amdgpu
2021-07-09 20:48:10 +02:00
reger-men
ea7b74389f
First draft HIP Version
2021-07-09 03:50:40 +00:00
Jens Steube
f146a05878
Added option --markov-inverse to inverse markov statistics, with the idea of reversing the order of the password candidates
2021-07-07 10:32:08 +02:00
Jens Steube
701ad7c441
Fix segfault in --hash-info by avoid huge stack buffer allocation
2021-06-30 21:01:55 +02:00
Jens Steube
56c2243dfb
KeePass: Increase supported size for KeePass 1 databases from 300kB to 16MB
2021-06-30 13:16:03 +02:00
Jens Steube
254e33c473
File handling: Do not abort on seeing a BOM in input files, just warn and ignore the BOM
2021-06-29 20:42:22 +02:00
Jens Steube
2af45cd03f
Rename hc_fopen_nozip() to hc_fopen_raw()
2021-06-29 20:13:11 +02:00
Jens Steube
dcaba1f473
Brain: Add brain_ctx_t to hashcat_ctx_t to enable runtime check if hashcat was compiled with brain support
2021-06-26 20:24:45 +02:00
Jens Steube
b30d55c5d9
Removed LZMA "Windows.h" capitalized file name workaround used to cross compile Windows binaries from Linux hosts.
...
This breaks compiling windows binaries if the underlaying filesystem is not case sensitive. An example would be using /mnt/c folder under WSL.
Any update on the LZMA SDK needs to be post processed with this command: sed -i 's/<Windows.h>/<windows.h>/' deps/LZMA-SDK/C/*.c deps/LZMA-SDK/C/*.h
2021-06-25 20:30:26 +02:00
Jens Steube
90f0e78b5b
Add event about autodetection process start
...
Remove "..." substring from final messages
Add patient message on "..." startup messages
Add missing docs/changes.txt entry
2021-06-22 11:37:59 +02:00
Jens Steube
7e267b9b37
Merge pull request #2825 from matrix/hwmon_osx_v2
...
Add OSX HW Monitor initial support (2021)
2021-06-20 11:09:35 +02:00
Gabriele Gristina
3a6481da4e
show all fans in hwmon output
2021-06-19 20:32:07 +02:00
Jens Steube
3119525ea3
Fixed integer overflow in Recovered/Time status view column caused by division > 0 but < 1
2021-06-18 07:57:15 +02:00
Jens Steube
62397283c1
VeraCrypt: Increase password length support for non-boot volumes from 64 to 128.
...
See https://github.com/hashcat/hashcat/issues/2616 for details.
2021-06-17 09:45:30 +02:00
Gabriele Gristina
4dc20533bd
fix ext_iokit.h
2021-06-12 20:24:43 +02:00
Gabriele Gristina
bc4ce4cbeb
Add support for CPU/GPU device temperature and fanspeed using iokit (Apple)
2021-06-12 20:13:31 +02:00
Jens Steube
2b68d4bec1
Merge pull request #2821 from matrix/autodetect-only
...
add identify/autodetect-only option
2021-06-12 10:26:33 +02:00
Gabriele Gristina
340e8d1033
fix identify functionality
2021-06-11 19:25:39 +02:00
Gabriele Gristina
3c6f4b0e69
add identify/autodetect-only option
2021-06-10 20:44:21 +02:00
Gabriele Gristina
e5de44c80d
Restyling hwmon (2021)(2)
2021-06-10 20:13:12 +02:00
Bjoern Kerler
d59f8c42d2
Prepare FBE support
2021-06-10 10:31:27 +02:00
Jens Steube
186e68289c
Merge pull request #2804 from matrix/autodetect
...
Added new feature: autodetect hash-mode
2021-06-06 18:20:44 +02:00
Gabriele Gristina
b8ae1444de
skip autodetect if benchmark is enabled, keep table sorting like usage
2021-06-06 13:40:01 +02:00
Jens Steube
c9db099330
Merge pull request #2456 from nycex/xdg
...
use XDG_DATA_HOME for profile_dir
2021-06-06 10:51:53 +02:00
Gabriele Gristina
ced9b0c6f8
Added new feature: autodetect hash-mode
2021-06-05 22:11:18 +02:00
nycex
40c68b8bf4
use recursive mkdir for the profile and the cache dir
2021-06-05 21:55:59 +02:00
Jens Steube
72d1937fe7
Modules: Added hash categories HASH_CATEGORY_IMS and HASH_CATEGORY_CRYPTOCURRENCY_WALLET
2021-06-05 15:32:28 +02:00
nycex
470e844e5d
use XDG_CACHE_HOME for kernels
2021-06-05 00:38:43 +02:00
Jens Steube
f54643479d
CRC32: Prevent decompression of data used in CRC32 calculation on host. This leads to false negatives with TrueCrypt/VeraCrypt keyfiles
2021-05-29 13:27:05 +02:00
Jens Steube
0b52409590
Modules: Recategorized HASH_CATEGORY option in various modules
2021-05-28 20:06:01 +02:00
Jens Steube
9f5a22a3ab
OpenCL Backend: Use CL_DEVICE_BOARD_NAME_AMD instead of CL_DEVICE_NAME for device name in case OpenCL runtime supports this query
2021-05-26 19:09:50 +02:00
Jens Steube
5c6501444a
Kernels: Add standalone true UTF8 to UTF16 converter kernel that runs after amplifier. Use OPTS_TYPE_POST_AMP_UTF16LE from plugin
2021-05-20 14:34:24 +02:00
Jens Steube
307cb63661
Merge pull request #2695 from matrix/cryptoapi
...
Added Linux Kernel Crypto API (2.4) KPA
2021-05-17 23:41:10 +02:00
Jens Steube
e365313a44
Dependencies: Updated LZMA SDK from 19.00 to 21.02 alpha
2021-05-16 08:51:59 +02:00