Gabriele Gristina
490702fcfa
Backends: added Metal host-code
2022-02-05 22:48:16 +01:00
Gabriele Gristina
7650894e02
fixed bug in benchmark engine, updated negative status code
2022-01-11 04:58:30 +01:00
Jens Steube
668d2179cd
Kernels: Refactored standard kernel declaration to use a structure holding u32/u64 attributes to reduce the number of attributes
2022-01-04 18:07:18 +01:00
philsmd
5ef522ed8f
whitespace and code style fixes
2021-10-08 17:38:54 +02:00
Jukka Ojanen
3d7ce7162b
Merge branch 'master' of https://github.com/hashcat/hashcat
2021-08-01 15:36:52 +03:00
Jens Steube
d4997d1255
Added support for auto-tuning --kernel-threads (-T) on startup
2021-07-31 16:49:39 +02:00
Jukka Ojanen
d721deb17a
Move variables higher to avoid async execution stack problems
2021-07-29 15:23:24 +03:00
Jukka Ojanen
9ed231c99c
Add comment to blocking OpenCL calls
2021-07-29 00:07:10 +03:00
Jukka Ojanen
ae44a3022b
Use fast event to synchronize selftest()
2021-07-27 13:00:39 +03:00
Jukka Ojanen
79404b1ff1
Allow async execution of selftest()
2021-07-25 22:19:50 +03:00
Jukka Ojanen
9f9333f2ef
Allow async execution of run_opencl_kernel_bzero(), run_hip_kernel_bzero() and run_opencl_kernel_bzero()
2021-07-22 15:18:10 +03:00
Jens Steube
23c3c178bf
Limit max threads per block to 64 to enable offline compiler to make better use if available registers
...
Fix double free() for hip_event1/hip_event2 and hip_stream causes segfault
Replace hc_cuCtxSetCurrent() with hc_cuCtxPushCurrent() in order to align changes with HIP
Add vector datatype operators (if we decide to use them - currently unused)
2021-07-12 09:28:26 +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
reger-men
ea7b74389f
First draft HIP Version
2021-07-09 03:50:40 +00:00
Jens Steube
51fe320425
Unit-Tests: Added missing support for OPTS_TYPE_LOOP_PREPARE, OPTS_TYPE_LOOP_PREPARE2 and salt_repeats in self-test
2021-06-11 18:36:19 +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
04d5e5a119
New Attack-Mode: Association Attack. Like JtR's single mode. Very early
...
stage. See hashcat Forum for detailed writeup.
2020-09-29 15:56:32 +02:00
Jens Steube
98aef2ae92
Module Structure: Add 3rd party library hook management functions. This also requires an update to all existing module_init()
2020-08-29 16:12:15 +02:00
Jens Steube
f96e35649d
Change bitsliced kernels from 3d to 2d invocation mode for slightly better performance
2020-02-22 07:59:58 +01:00
Jens Steube
d9473358ef
Add support for OPTS_TYPE_LOOP_EXTENDED kernel for special cases like VeraCrypt
2020-02-20 16:00:21 +01:00
Jens Steube
4d286d5dc7
Fix selftest in case OPTS_TYPE_DEEP_COMP_KERNEL is active
2019-12-24 17:24:27 +01:00
Jens Steube
2a04354401
New mode 22000 WPA-PBKDF2-PMKID+EAPOL to replace -m 2500 and -m 16800. NOTE: missing support for message_pair and nonce_error_corrections handling
2019-12-15 21:09:04 +01:00
Jens Steube
f9e5dcc133
Use deep comparison kernel from module function in selftest.c
2019-12-15 11:10:04 +01:00
Jens Steube
e83c71a18f
Add missing AUX4 in selftest.c
2019-12-14 18:44:13 +01:00
Jens Steube
2884bded32
Initialize some variable to make scan-build happy
2019-11-26 10:55:57 +01:00
Jens Steube
a8555fa048
Support use of all available CPU cores for hash-mode specific hooks
2019-11-03 12:05:52 +01:00
Jens Steube
2622993c00
Fix check of OPTS_TYPE_PT_HEX in selftest
2019-10-09 19:15:37 +02:00
Jens Steube
786efc2d7c
Add support for OPTS_TYPE_PT_HEX
2019-10-09 10:49:58 +02:00
Chick3nman
9e1ae3cb4a
Updated Kernel self-test failure message to reflect OpenCL or Cuda installation failure, depending on backend used
2019-07-12 13:38:12 -05:00
Gabriele Gristina
c3716ca8e5
(selftest) remove unused *rc* vars and cleanup
2019-07-10 16:41:24 +02:00
Jens Steube
ec9925f3b1
Warnings self-check and autotune with CUDA
2019-05-04 21:52:00 +02:00
Jens Steube
f2948460c9
Some first kernel invocations
2019-05-04 10:13:43 +02:00
Jens Steube
50a6e720ca
More OpenCL variables rename
2019-05-02 17:30:46 +02:00
Jens Steube
af8e317cf4
Begin renaming some OpenCL only variables
2019-05-02 17:12:59 +02:00
Jens Steube
4b986de5fb
Prepare native CUDA hybrid integration
2019-04-25 14:45:17 +02:00
jsteube
4548d15dde
Fix spin_damp datatype
2019-04-19 12:26:37 +02:00
jsteube
6d21c1633b
Fix loop_step value in selftest.c, this also workarounds Trap 6 errors
2019-04-18 14:29:39 +02:00
jsteube
708a86fb59
Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes
2019-03-31 17:39:00 +02:00
jsteube
1537fc4e5d
Improve handling of temporary skipped devices (due to JiT build failure or unstable_warning)
2019-03-04 10:29:57 +01:00
jsteube
2734464cd1
Fix missing KERN3 use if using OPTS_TYPE_DEEP_COMP_KERNEL
2019-02-07 17:14:10 +01:00
jsteube
e0deb3f825
Add module_deep_comp_kernel()
2019-01-05 18:44:43 +01:00
jsteube
6cbb5e4992
Refactor kernel_accel, kernel_loops and kernel_threads management in combination with modules
2019-01-05 18:24:37 +01:00
jsteube
ac55386553
Get rid of hash_mode in selftest.c
2018-12-19 10:58:06 +01:00
jsteube
074947c6db
Get rid of hashconfig_get_kernel_threads() and hashconfig_get_kernel_loops()
2018-12-17 13:03:32 +01:00
R. Yushaev
5c87720acc
Add SHA3 and Keccak
...
The previous hash-mode 5000 covered Keccak-256 only. FIPS changed one
padding byte while adopting Keccak as the SHA3 standard, which gives us
different digests. Now we have separate kernels for SHA3 and Keccak.
- Added hash-mode 17300 = SHA3-224
- Added hash-mode 17400 = SHA3-256
- Added hash-mode 17500 = SHA3-384
- Added hash-mode 17600 = SHA3-512
- Added hash-mode 17700 = Keccak-224
- Added hash-mode 17800 = Keccak-256
- Added hash-mode 17900 = Keccak-384
- Added hash-mode 18000 = Keccak-512
- Removed hash-mode 5000 = SHA-3 (Keccak)
2018-10-15 16:06:31 +02:00
Rosen Penev
77daf05dd0
Add HC_API_CALL to a few functions
...
On 32-bit MinGW, clang was throwing errors about this.
64-bit MinGW and regular MSYS does not throw warnings after the change.
2018-09-18 16:34:00 -07:00
jsteube
52c52836e3
Add new option --slow-candidates which allows hashcat to generate passwords on-host
2018-09-01 12:31:17 +02:00
Jens Steube
466ea8eaba
Fixed detection of unique ESSID in WPA-PMKID-* parser
2018-08-31 15:47:48 +02:00
Michael Sprecher
07840c9fe3
Fixed a missing check for hashmodes using OPTS_TYPE_PT_UPPER causing the self-test to fail when using combinator- and hybrid-mode
2018-07-23 19:09:58 +02:00