1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-27 00:48:13 +00:00
Commit Graph

662 Commits

Author SHA1 Message Date
jsteube
8702d0e3e1 Workaround memory allocation limit from OpenCL by using multiple buffers for scrypt 2016-06-28 11:03:04 +02:00
jsteube
4ed8977e48 Dynamic tmp_t length for scrypt 2016-06-27 21:28:48 +02:00
Jens Steube
ed1863c263 Move macros DGST_R0 - DGST_R3 to host, define dgst_size for opencl kernel from host; both at runtime 2016-06-26 23:39:42 +02:00
jsteube
0e68b2af25 Don't use device_processor_cores for scrypt 2016-06-26 22:59:52 +02:00
Jens Steube
8298cd4926 Drop -m 190, no reason to keep it 2016-06-23 18:20:55 +02:00
jsteube
e4f2002e53 Add missing -m 2000 kernels 2016-06-19 14:37:47 +02:00
jsteube
5542e46022 Added option --stdout to print candidates instead of trying to crack a hash 2016-06-14 21:49:33 +02:00
Jens Steube
3022abf956 some axcrypt fixes 2016-06-11 23:08:33 +02:00
jsteube
58296e1ecf Fix a bug in -m 1500, returned invalid plain is cracking slice was not 0 2016-06-10 17:48:04 +02:00
jsteube
b9eefd9b20 Added new hash-mode 13800 = Windows 8+ phone PIN/Password 2016-06-10 09:46:41 +02:00
Jens Steube
fc1be6bb85 Fix issue #150 2016-06-06 00:32:03 +02:00
jsteube
04dfe6e89e Fix -m 12500 by limiting max. length to 20; Limit fake rule copy in autotune() to it's max size 2016-06-01 22:56:33 +02:00
jsteube
2213786618 Increase Domain Cached Credentials (DCC), MS Cache cracking performance 2016-05-28 15:36:04 +02:00
jsteube
333ca26f21 Increase Oracle T: Type (Oracle 12+) cracking performance 2016-05-28 13:02:21 +02:00
jsteube
a720195686 Increase AIX {ssha512} cracking performance
Remove unrolling for 7100, 7200, 12100 and 8200: High-End GPUs didn't like it
2016-05-28 12:30:39 +02:00
jsteube
072988f26c Increase PBKDF2-HMAC-SHA512 cracking performance 2016-05-28 00:25:41 +02:00
jsteube
2ec7429dea Increase 1Password, cloudkeychain cracking performance 2016-05-27 23:59:52 +02:00
jsteube
e279e0c2b3 Improve GOST R 34.11-2012 (Streebog) speed 2016-05-26 19:47:01 +02:00
jsteube
f843c6a4d0 Improve Lotus Notes/Domino 5 performance 2016-05-26 19:30:09 +02:00
jsteube
dfc9a5ff61 Improve Lotus Notes/Domino 6 performance 2016-05-26 18:59:36 +02:00
jsteube
2dd8156d24 Introduce a true memset kernel, currently operates on 16 byte per item 2016-05-26 16:45:52 +02:00
Jens Steube
2899f53a15 Move files from include/ to OpenCL/ if they are used within kernels
Rename includes in OpenCL so that it's easier to recognize them as such
2016-05-25 23:04:26 +02:00
jsteube
c4333c4025 Get SHA256 KDF for VeraCrypt to work 2016-05-21 21:23:22 +02:00
jsteube
763fd6e18b Merge branch 'master' of https://github.com/hashcat/oclHashcat 2016-05-21 11:00:16 +02:00
jsteube
df3f4a439a We can safely replace atomic_add() with atomic_inc() 2016-05-21 10:58:58 +02:00
Jens Steube
c6c865e32e Some final fixes for d_return_buf refactorization; Initial kernels vor veracrypts SHA256 KDF (not working) 2016-05-21 00:39:22 +02:00
jsteube
f2598025c6 Some fixes for rare kernels 2016-05-20 19:05:54 +02:00
Jens Steube
37953cdc8f Optimize handling of cracked hashes, was a bottleneck if too many at once 2016-05-20 18:24:33 +02:00
Jens Steube
d37b6c6c30 Prepare for VeraCrypt integration 2016-05-19 20:53:17 +02:00
Jens Steube
247d193146 Get rid of some JIT compiler warnings 2016-05-18 11:18:31 +02:00
Jens Steube
9e92c9c4d9 Fix types_ocl.c to solve issue https://github.com/hashcat/oclHashcat/issues/344 2016-05-18 09:35:51 +02:00
Jens Steube
de2074dfaa Fix for -m 2500, see: https://github.com/hashcat/oclHashcat/issues/339 2016-05-17 18:21:37 +02:00
jsteube
b5cb29ad1c Minimal psafe2 increase and autotune fix 2016-05-16 21:30:21 +02:00
jsteube
e46aa7103a Fix some macros for NV 2016-05-16 20:30:39 +02:00
jsteube
eea3424c38 Added SIMD code for all generic PBKDF2-HMAC-* modes 2016-05-15 19:54:56 +02:00
Jens Steube
5987029441 Added SIMD code for DCC2 2016-05-15 01:13:09 +02:00
Jens Steube
0ddb264a5a Use packv() and unpackv() for slow hash SIMD handling in kernels 2016-05-15 00:37:46 +02:00
Jens Steube
9d74f2958d Added SIMD code for WPA/WPA2 2016-05-14 19:45:51 +02:00
Jens Steube
0891989404 Fix WinZip multihash 2016-05-12 13:05:12 +02:00
Jens Steube
7a4ab2b42d Prepare for WinZip integration 2016-05-12 09:26:54 +02:00
jsteube
e47030ed7d Prepare to rename project into hashcat
This release markes the fusion of "hashcat" and "oclHashcat" into "hashcat".
It combines all features of all hashcat projects in one project.
2016-05-10 19:07:07 +02:00
jsteube
c19779dedf Switch back -m 7400 to old version 2016-05-09 23:35:25 +02:00
jsteube
9390be8594 Use real registers for salt, high-end maxwells didn't like it with global memory access 2016-05-09 23:07:23 +02:00
jsteube
373d2b9882 Remove barrier from DCC1, high-end maxwells didn't like it 2016-05-09 21:51:36 +02:00
jsteube
c79bed3b7d Prepare for a more dynamic #pragma unroll use 2016-05-09 21:32:12 +02:00
jsteube
34c3557d50 Fix compiler warnings 2016-05-09 19:23:37 +02:00
Jens Steube
941e016378 Fix -m 9000 performance for AMD 2016-05-09 09:40:57 +02:00
jsteube
a0221cd368 Fix broken -m 1500 and -m 3000 2016-05-09 09:17:59 +02:00
jsteube
6dac6b409e Add compiler kernel hints for algorithms with fixed workgroup size 2016-05-09 00:58:04 +02:00
jsteube
71c31fca59 Rewrote sha256crypt from scratch 2016-05-08 22:56:36 +02:00
jsteube
fd77a098c5 Another some unroll to reduce register pressure 2016-05-08 18:57:44 +02:00
jsteube
bd1f555c9c Remove some unroll to reduce register pressure 2016-05-08 18:29:54 +02:00
jsteube
303cfcae15 Enable unrolling of SHA512 with HMAC on NV 2016-05-08 16:07:40 +02:00
Jens Steube
7f04a89f77 Optimize out the swap32() of sha256 in 7zip 2016-05-08 15:33:32 +02:00
jsteube
16af77af18 Extended password length up to 32 for 7zip 2016-05-08 14:39:44 +02:00
jsteube
6d027e77f2 Optimize some macros
Use rotate() instead of inline asm; breaks Titan speed
2016-05-08 11:09:44 +02:00
jsteube
89dcaeb76d Replace SHL+ADD with MAD 2016-05-07 23:51:37 +02:00
jsteube
8141c7fb60 Little bit inline assembly for the older nvidia cards 2016-05-07 20:45:16 +02:00
jsteube
006f5252b7 Optimize a few modes for hashcat_tuning.hctab for budget NV cards
Little experiment with MD4 based optimizations on -m 900 -m 1000 and -m 1100
Fix benchmark in case user fixes -u and -n values
2016-05-07 13:15:21 +02:00
Jens Steube
c40bf412e5 Fix -m 8500: volatile no longer required 2016-05-06 11:44:28 +02:00
Jens Steube
72e3821a4c Simplify auto-tuning and benchmark routines
Decrease the time it takes to run a benchmark
Removed --benchmark-repeat, it creates no advantage
Fix some wording related to drivers
Dropped special 64-bit rotate() handling for NV
Cleanup SHA384
Cleanup try_run()
2016-05-05 23:21:15 +02:00
Jens Steube
8316210233 Unlock kernel_threads > 64 2016-05-04 00:52:53 +02:00
jsteube
dbe2d96618 Fix -m 1500 multihash and benchmark
Fix -m  3000 multihash and benchmark
Fix -m  3100 multihash and benchmark
Fix -m  7700 multihash and benchmark
Fix -m  8500 multihash and benchmark
Fix -m 11500 multihash and benchmark
2016-05-03 10:57:23 +02:00
jsteube
c7b67376a8 Fix -m 200 multihash and benchmark 2016-05-03 10:39:09 +02:00
jsteube
518fcb387a Fix -m 10100 multihash and benchmark 2016-05-03 10:23:32 +02:00
jsteube
c0a38846e3 Fix -m 5100 multihash and benchmark 2016-05-03 10:14:53 +02:00
Jens Steube
0b3743ce94 - Added inline declaration to functions from simd.c, common.c, rp.c and types_ocl.c to increase performance
- Dropped static declaration from functions in all kernel to achieve OpenCL 1.1 compatibility
- Added -cl-std=CL1.1 to all kernel build options
- Created environment variable to inform NVidia OpenCL runtime to not create its own kernel cache
- Created environment variable to inform pocl OpenCL runtime to not create its own kernel cache
2016-05-01 23:15:26 +02:00
jsteube
9b3d18f87d SIMD for slow hashes prototype 2016-05-01 18:34:59 +02:00
Jens Steube
012275e873 Merge branch 'master' of https://github.com/hashcat/oclHashcat 2016-04-29 03:29:25 +02:00
Jens Steube
d7a90f9579 Fix missing multihash support for -m 3100 2016-04-29 03:28:55 +02:00
Jens Steube
abce366d00 Fixed -m 13500 kernels and tests 2016-04-28 22:23:02 +02:00
Jens Steube
1ccb643fba Fix variable name typo in -m 13500 2016-04-27 14:03:28 +02:00
Jens Steube
aef8dc2b01 First working version of -m 13500 2016-04-26 22:45:23 +02:00
Jens Steube
9294aaccae Merge pull request #311 from fgaudreault/master
Adding parser and basic kernels for -m 13500
2016-04-26 20:12:33 +02:00
Jens Steube
7cbce12ea7 Add platform vendor_id detection 2016-04-26 13:59:14 +02:00
Jens Steube
15d7e41d68 Fix broken #ifdef in types_ocl.c 2016-04-25 07:10:02 +02:00
Jens Steube
81b19ddc7d Remove no longer needed allx() macro 2016-04-25 07:05:47 +02:00
Jens Steube
c0d0ef60a5 Replace minus with select give a small boost in speed for -m 1500 and -m 3000 2016-04-24 20:52:21 +02:00
Jens Steube
50ea3a88dd Merge pull request #305 from neheb/master
Disable AMD optimizations for LLVM
2016-04-24 15:18:17 +02:00
Jens Steube
01baa89bc0 Fix -m 3000 cracking performance
Fix -m 1500 cracking performance
2016-04-23 22:29:29 +02:00
Jens Steube
7ab180c868 Fix -m 200 cracking performance 2016-04-23 20:52:16 +02:00
Mangix
530651e96a Disable AMD optimizations for LLVM 2016-04-22 20:22:28 -07:00
Francois Gaudreault
2df81367df Adding parser and basic kernels for -m 134 2016-04-21 13:22:05 -04:00
jsteube
ad01afeeb8 Fix -m 5000 performance on NV after change to new standard 2016-04-21 09:01:31 +02:00
Fist0urs
9e8b7a1d9a -m 13400 Increased max kdb size to 300KB 2016-04-18 18:27:51 +02:00
Jens Steube
23efa03209 Cleanup -m 131xx kernels to latest standard 2016-04-18 16:52:11 +02:00
Jens Steube
3066fbf00d Cleanup -m 126xx kernels to latest standard 2016-04-18 16:44:54 +02:00
Jens Steube
6f0ea7e8fe Cleanup -m 118xx kernels to latest standard 2016-04-18 16:37:16 +02:00
Jens Steube
610ae882a2 Cleanup -m 117xx kernels to latest standard 2016-04-18 16:25:55 +02:00
Jens Steube
76d74bdc04 Cleanup -m 115xx kernels to latest standard 2016-04-18 15:51:48 +02:00
Jens Steube
b6ba4d489a Cleanup -m 114xx kernels to latest standard 2016-04-18 15:16:23 +02:00
Jens Steube
ee0b1d2c21 Cleanup -m 112xx kernels to latest standard 2016-04-18 14:39:52 +02:00
Jens Steube
79b3a1b7ca Cleanup -m 111xx kernels to latest standard 2016-04-18 13:41:17 +02:00
Jens Steube
cca4cf51ad Cleanup -m 110xx kernels to latest standard 2016-04-18 13:25:51 +02:00
Jens Steube
63c7bda957 Cleanup -m 108xx kernels to latest standard 2016-04-18 12:31:51 +02:00
Jens Steube
36f4563aa5 Cleanup -m 10410 kernels to latest standard 2016-04-18 11:49:15 +02:00
Jens Steube
1d9a36b86e Cleanup -m 10420 kernels to latest standard 2016-04-18 11:40:51 +02:00
Jens Steube
1b9e5f716b Cleanup -m 10400 kernels to latest standard 2016-04-18 10:56:00 +02:00
Jens Steube
4149ecf78f Cleanup -m 101xx kernels to latest standard 2016-04-18 10:24:44 +02:00
Jens Steube
7bafb7a652 Cleanup -m 99xx kernels to latest standard 2016-04-17 19:25:04 +02:00
Jens Steube
d3cc6ead4d Cleanup -m 9810 kernels to latest standard 2016-04-17 19:07:53 +02:00
Jens Steube
c0c9221521 Cleanup -m 9820 kernels to latest standard 2016-04-17 17:46:18 +02:00
Jens Steube
e6b9071b52 Cleanup -m 9800 kernels to latest standard 2016-04-17 15:49:02 +02:00
Jens Steube
1bc9e3ec85 Do not modify the original positions of mac1, mac2, nonce1 and nonce2 in hccap files
Should fix https://github.com/hashcat/oclHashcat/issues/288
2016-04-17 10:44:14 +02:00
Jens Steube
e7a205cee6 Cleanup -m 9710 kernels to latest standard 2016-04-17 10:18:11 +02:00
Jens Steube
0063533fde Cleanup -m 9720 kernels to latest standard 2016-04-17 10:03:35 +02:00
Jens Steube
d5d06b7023 Cleanup -m 9700 kernels to latest standard 2016-04-17 09:53:24 +02:00
Jens Steube
ac05a163e7 Cleanup -m 87xx kernels to latest standard 2016-04-16 17:55:09 +02:00
Jens Steube
4f44f2b9e9 Cleanup -m 86xx kernels to latest standard 2016-04-16 17:46:45 +02:00
Jens Steube
97ac22e5e1 Cleanup -m 85xx kernels to latest standard 2016-04-16 17:39:16 +02:00
Jens Steube
8df278fc20 Cleanup -m 84xx kernels to latest standard 2016-04-16 17:30:50 +02:00
Jens Steube
0f73c778d5 Optimized -m 8300 (DNSSEC) cracking performance in -a 3 mode 2016-04-16 11:50:48 +02:00
Jens Steube
99524ce27f Cleanup -m 83xx kernels to latest standard 2016-04-16 11:28:15 +02:00
Jens Steube
0e52f9567f Cleanup -m 81xx kernels to latest standard 2016-04-15 13:44:55 +02:00
Jens Steube
e7ea8cb778 Cleanup -m 80xx kernels to latest standard 2016-04-15 11:44:34 +02:00
Jens Steube
7223cc94de Cleanup -m 78xx kernels to latest standard 2016-04-14 18:40:01 +02:00
Jens Steube
ebc8acca1f Cleanup -m 77xx kernels to latest standard 2016-04-14 15:31:07 +02:00
Jens Steube
12c3169493 Cleanup -m 76xx kernels to latest standard 2016-04-14 11:44:06 +02:00
Jens Steube
0d49ff67bf Cleanup -m 75xx kernels to latest standard 2016-04-14 08:44:17 +02:00
Jens Steube
1a353b54ff Cleanup -m 73xx kernels to latest standard 2016-04-13 20:58:10 +02:00
Jens Steube
f1ed83e219 Cleanup -m 69xx kernels to latest standard 2016-04-13 19:54:06 +02:00
Jens Steube
3a7803e4db Cleanup -m 61xx kernels to latest standard 2016-04-13 15:39:33 +02:00
Jens Steube
5a36fc2b7f Cleanup -m 60xx kernels to latest standard 2016-04-13 12:58:22 +02:00
Jens Steube
b0dbe8d9ab Cleanup -m 50xx kernels to latest standard - NOTE: broken on SIMD, compiler bug 2016-04-13 11:14:12 +02:00
Jens Steube
afb394f152 Cleanup -m 56xx kernels to latest standard 2016-04-12 21:21:35 +02:00
Jens Steube
d6e5f7e829 Cleanup -m 55xx kernels to latest standard 2016-04-12 20:17:18 +02:00
Jens Steube
ca9b34277f Cleanup -m 54xx kernels to latest standard 2016-04-12 16:22:07 +02:00
Jens Steube
29dead2039 Cleanup -m 53xx kernels to latest standard 2016-04-12 14:30:32 +02:00
Jens Steube
2348fb3f36 Cleanup -m 51xx kernels to latest standard 2016-04-12 08:53:08 +02:00
Jens Steube
6b2a3e7b27 Cleanup -m 48xx kernels to latest standard 2016-04-10 20:38:35 +02:00
Jens Steube
029601795a Cleanup -m 47xx kernels to latest standard 2016-04-10 19:50:03 +02:00
Jens Steube
7948c74882 Cleanup -m 45xx kernels to latest standard 2016-04-10 17:40:51 +02:00
Jens Steube
0a180b6d64 Cleanup -m 44xx kernels to latest standard 2016-04-10 17:17:50 +02:00
Jens Steube
81d4cb52ab Cleanup -m 43xx kernels to latest standard 2016-04-10 16:06:10 +02:00
Jens Steube
298e9a3aad Cleanup -m 31xx kernels to latest standard 2016-04-10 11:33:18 +02:00
Jens Steube
ceb72629ae Cleanup -m 38xx kernels to latest standard 2016-04-10 11:01:10 +02:00
Jens Steube
105635334d Cleanup -m 37xx kernels to latest standard 2016-04-09 22:31:32 +02:00
Jens Steube
b478848f5d Cleanup -m 49xx kernels to latest standard 2016-04-08 20:39:40 +02:00
Fist0urs
34b8d89422 Added support of keyfiles within Keepass 1.x and Keepass 2.x 2016-04-06 16:05:09 +02:00
Jens Steube
6a03acb9aa Just some format changes 2016-04-03 11:00:02 +02:00
Fist0urs
52b17a602f New format -m 13400, Keepass 1 (AES/Twofish) and Keepass 2 (AES) 2016-04-02 14:45:05 +02:00
Jens Steube
19c548c36e Cleanup -m 1760 -a 1 kernel to latest standard 2016-03-19 18:04:50 +01:00
Jens Steube
b08e6e2371 Cleanup -m 30xx kernels to latest standard 2016-03-19 17:49:55 +01:00
Jens Steube
1b20b271e7 Cleanup -m 15xx kernels to latest standard 2016-03-19 17:39:15 +01:00
Jens Steube
45cdbce18a Cleanup -m 28xx kernels to latest standard 2016-03-19 17:25:55 +01:00
Jens Steube
9f044cbdbe Cleanup -m 27xx kernels to latest standard 2016-03-19 17:07:28 +01:00
Jens Steube
4ac3880282 Cleanup -m 26xx kernels to latest standard 2016-03-14 10:58:47 +01:00
Jens Steube
57f1a73f0d Cleanup -m 2410 kernels to latest standard 2016-03-12 21:32:41 +01:00
Gabriele 'matrix' Gristina
c2a32eddb3 Fix build failure for -m 13100 on Apple Platform 2016-03-08 12:05:00 +01:00
Jens Steube
8a448fe9e2 Cleanup -m 2400 kernels to latest standard 2016-03-07 20:38:08 +01:00
Jens Steube
1ebe44e70f Cleanup -m 200 kernels to latest standard 2016-03-07 20:19:16 +01:00
philsmd
c43a7539d4 fixed overwrite_at_le_4x4 () function (if offset is 32) 2016-03-07 13:46:07 +01:00
Jens Steube
55cadb6834 Fix broken -m 1500 and -m 3000 in -a 3 mode 2016-03-06 14:24:21 +01:00
Jens Steube
555e339674 Cleanup -m 1100 kernels to latest standard 2016-03-04 16:54:28 +01:00
Jens Steube
116d7620c5 Cleanup -m 1000 kernels to latest standard 2016-03-04 16:54:22 +01:00
Jens Steube
279d3a33c7 Cleanup -m 900 kernels to latest standard 2016-03-04 16:54:17 +01:00
Jens Steube
132086f620 Cleanup -m 300 kernels to latest standard 2016-03-04 16:54:12 +01:00
Jens Steube
1180e0760d Cleanup -m 1760 kernels to latest standard 2016-03-04 16:06:11 +01:00
Jens Steube
5f7aaedc4a Cleanup -m 1750 kernels to latest standard 2016-03-04 16:01:24 +01:00
Jens Steube
cd0e287827 Cleanup -m 1740 kernels to latest standard 2016-03-04 14:49:44 +01:00
Jens Steube
b6e2392713 Cleanup -m 1730 kernels to latest standard 2016-03-04 14:42:51 +01:00
Jens Steube
2dad9c9d55 Cleanup -m 1720 kernels to latest standard 2016-03-04 14:31:30 +01:00
Jens Steube
549ff72f2e Cleanup -m 1710 kernels to latest standard 2016-03-04 14:23:27 +01:00
Jens Steube
2bb1116be7 Cleanup -m 1700 kernels to latest standard 2016-03-04 14:09:34 +01:00
Jens Steube
180f71f291 Cleanup -m 1460 kernels to latest standard 2016-03-03 17:10:43 +01:00
Jens Steube
4f1d33216b Cleanup -m 1450 kernels to latest standard 2016-03-03 16:58:46 +01:00
Jens Steube
e5c8cea390 Cleanup -m 1440 kernels to latest standard 2016-03-03 16:41:47 +01:00
Jens Steube
4ec867f9bb Cleanup -m 1430 kernels to latest standard 2016-03-03 16:33:39 +01:00
Jens Steube
c0ccfacea6 Cleanup -m 1420 kernels to latest standard 2016-03-03 16:28:23 +01:00
Jens Steube
70fac6ec16 Cleanup -m 1410 kernels to latest standard 2016-03-03 16:20:32 +01:00
Jens Steube
8f8d98665b Cleanup -m 1400 kernels to latest standard 2016-03-03 16:15:33 +01:00
Jens Steube
9ba3498e4b Cleanup -m 1400 kernels to latest standard 2016-03-03 16:05:55 +01:00
Fist0urs
b0f1cb8a98 New format -m 13300 AxCrypt in memory SHA1 2016-03-02 14:35:10 +01:00
Fist0urs
ad17fba9b6 New format -m 13200 AxCrypt 2016-03-01 19:11:13 +01:00
Jens Steube
eaaeac4aca New SIMD code for -a 1 -m 1460 2016-02-28 19:58:16 +01:00
Jens Steube
c788ecdb80 New SIMD code for -a 1 -m 1450 2016-02-28 19:58:13 +01:00
Jens Steube
7b10348f7b New SIMD code for -a 1 -m 1440 2016-02-28 19:58:09 +01:00
Jens Steube
91c2052e59 New SIMD code for -a 1 -m 1430 2016-02-28 19:58:06 +01:00
Jens Steube
9157996a91 New SIMD code for -a 1 -m 1420 2016-02-28 19:58:02 +01:00
Jens Steube
4931824b26 New SIMD code for -a 1 -m 1410 2016-02-28 19:57:59 +01:00
Jens Steube
6cf3e8324d New SIMD code for -a 1 -m 1400 2016-02-28 19:57:55 +01:00
Jens Steube
575dcbfd25 Add missing function append_0x01_2x4_S() 2016-02-27 17:29:27 +01:00
jsteube
dad03e394d Fixed two major problems
1) SIMD code for all attack-mode

Macro vector_accessible() was not refactored and missing completely.
Had to rename variables rules_cnt, combs_cnt and bfs_cnt into il_cnt which was a good thing anyway as with new SIMD code they all act in the same way.

2) SIMD code for attack-mode 0

With new SIMD code, apply_rules_vect() has to return u32 not u32x.
This has massive impact on all *_a0 kernels.

I've rewritten most of them. Deep testing using test.sh is still required.

Some kernel need more fixes:

- Some are kind of completely incompatible like m10400 but they still use old check_* includes, we should get rid of them as they are no longer neccessary as we have simd.c
- Some have a chance but require additional effort like m11500. We can use commented out "#define NEW_SIMD_CODE" to find them

This change can have negative impact on -a0 performance for device that require vectorization. That is mostly CPU devices. New GPU's are all scalar, so they wont get hurt by this.
This change also proofes that there's no way to efficiently vectorize kernel rules with new SIMD code, but it enables the addition of the rule functions like @ that we were missing for some long time. This is a TODO.
2016-02-27 17:18:54 +01:00
Jens Steube
18ec554ea0 Cleanup of all raw-SHA1 based algorithms 2016-02-24 15:27:02 +01:00
Jens Steube
12fa3d6bfc Cleanup of all raw-MD5 based algorithms; small change important for later changes 2016-02-24 13:40:38 +01:00
Jens Steube
7e9fee2155 Cleanup of all raw-MD5 based algorithms; Should be done for all raw-SHA1, -SHA256 and -SHA512 based algorithms as well 2016-02-24 11:35:13 +01:00
Jens Steube
01c847ba94 Do not use values that can actually crack a hash in autotune 2016-02-23 15:00:56 +01:00
Jens Steube
a81162b087 Speed up -m 20 in -a 3 mode 2016-02-23 12:18:47 +01:00
Jens Steube
d9fcf87e1c Increase salt length for raw-md5 based algorithms 2016-02-22 21:35:37 +01:00
Jens Steube
e6e5005a6b Revert "Zero pws_buf before reuse"
This reverts commit b409e5e9e1.
2016-02-22 21:32:38 +01:00
Jens Steube
b409e5e9e1 Zero pws_buf before reuse 2016-02-22 21:20:16 +01:00
Jens Steube
6bc98368ba Get rid of old pw_cache mechanism to control host-based vector data-types 2016-02-22 11:57:37 +01:00
Jens Steube
c7a1a1e84d New SIMD code for -a 1 -m 100 2016-02-22 10:09:16 +01:00
Jens Steube
b4665607f7 New SIMD code for -a 1 -m 60 2016-02-22 10:02:23 +01:00
Jens Steube
797f03b424 New SIMD code for -a 1 -m 40 2016-02-22 10:01:55 +01:00
Jens Steube
d6c6af040b New SIMD code for -a 1 -m 40 2016-02-22 10:01:53 +01:00
Jens Steube
097650423a New SIMD code for -a 1 -m 30 2016-02-22 10:01:49 +01:00
Jens Steube
913dfa058c New SIMD code for -a 1 -m 20 2016-02-21 18:40:10 +01:00
Jens Steube
0b29be3f86 New SIMD code for -a 1 -m 10 2016-02-21 18:40:06 +01:00
Jens Steube
21c66ea301 New SIMD code for -a 1 -m 0 2016-02-21 18:40:01 +01:00
Jens Steube
7ae2510f11 New SIMD code for -a 1 prepare 2016-02-21 18:39:44 +01:00
Jens Steube
7190dcf855 Prepare NEW_SIMD_MODE for -a 1 kernels 2016-02-20 16:13:06 +01:00
Fist0urs
62bed36638 Add verification of checksum for -m 13100
This avoid collisions by arc4'ing all data then hmac-md5
when valid ASN1 structures headers are found.
Performance should not be impacted.
2016-02-19 23:12:46 +01:00
magnum
a5be8a75ed Allow and support vector-width 16, which is current maximum for
OpenCL. Closes #226.
2016-02-18 08:51:45 +01:00
Fist0urs
223ab0b3db Cosmetic change -m 13100
Removed commented part (the commented part was there to implement full last arc4'ing + hmac-md5)
We will see if some people find collision. In this case we will add this last check
2016-02-17 13:32:07 +01:00
Fist0urs
c3dabdd69e Initial commit 2016-02-16 16:34:46 +01:00
jsteube
7645a6f00f Fix warp bug on -m 8500 2016-02-16 13:24:36 +01:00
Jens Steube
138ea7ed11 Fix Truecrypt Whirlpool speed 2016-02-16 10:47:40 +01:00
Jens Steube
c09bc848f7 Autotuning engine prototype 2016-02-14 15:45:52 +01:00
Jens Steube
acbae91750 Prepare SIMD for slow hashes macro 2016-02-08 19:49:28 +01:00
Jens Steube
9a1f35d604 Converted to new SIMD: -m 5000 -a 0 2016-02-06 11:29:07 +01:00
Jens Steube
30242ef38c Converted to new SIMD: -m 9720 -a 0 2016-02-06 11:29:00 +01:00
Jens Steube
b88d1140b7 Converted to new SIMD: -m 9820 -a 0 2016-02-06 11:28:55 +01:00
Jens Steube
db1d480a02 Converted to new SIMD: -m 9900 -a 0 2016-02-06 11:28:30 +01:00
Jens Steube
be1275ea7f Converted to new SIMD: -m 8700 -a 0 2016-02-06 11:20:25 +01:00
Jens Steube
ae33777e73 Converted to new SIMD: -m 8600 -a 0 2016-02-06 11:17:00 +01:00
Jens Steube
65274b0404 Converted to new SIMD: -m 8500 -a 0 2016-02-06 11:03:25 +01:00
Jens Steube
60d43ed064 Converted to new SIMD: -m 8400 -a 0 2016-02-06 11:01:22 +01:00
Jens Steube
1f14182585 Converted to new SIMD: -m 8300 -a 0 2016-02-06 10:58:20 +01:00
Jens Steube
53edf5d4a4 Converted to new SIMD: -m 8100 -a 0 2016-02-06 10:57:19 +01:00
Jens Steube
80d492eacd Converted to new SIMD: -m 8000 -a 0 2016-02-06 10:54:34 +01:00
Jens Steube
e8c0410bcd Converted to new SIMD: -m 7600 -a 0 2016-02-06 10:49:44 +01:00
Jens Steube
81f3fd3c7f Converted to new SIMD: -m 7300 -a 0 2016-02-06 10:47:19 +01:00
Jens Steube
e536eed0c1 Converted to new SIMD: -m 6900 -a 0 2016-02-06 10:46:16 +01:00
Jens Steube
915a315e56 Converted to new SIMD: -m 6100 -a 0 2016-02-06 10:40:51 +01:00
Jens Steube
55b51488de Converted to new SIMD: -m 6000 -a 0 2016-02-06 10:38:39 +01:00
Jens Steube
4d86284a13 Converted to new SIMD: -m 5600 -a 0 2016-02-06 10:35:59 +01:00
Jens Steube
80d97cf38a Converted to new SIMD: -m 5500 -a 0 2016-02-06 10:33:54 +01:00
Jens Steube
ca7d382dce Converted to new SIMD: -m 5500 -a 0 2016-02-06 10:24:34 +01:00
Jens Steube
b3a43b47a1 Converted to new SIMD: -m 5400 -a 0 2016-02-06 10:23:42 +01:00
Jens Steube
bbda891fe9 Converted to new SIMD: -m 5300 -a 0 2016-02-06 10:19:54 +01:00
Jens Steube
898d8fbaea Converted to new SIMD: -m 5100 -a 0 2016-02-06 10:18:38 +01:00
Jens Steube
5877abb4f4 Converted to new SIMD: -m 4900 -a 0 2016-02-06 10:14:38 +01:00
Jens Steube
b477e5c481 Converted to new SIMD: -m 4800 -a 0 2016-02-06 10:11:07 +01:00
Jens Steube
f10255d82a Converted to new SIMD: -m 4700 -a 0 2016-02-06 10:09:38 +01:00
Jens Steube
e6393454f0 Converted to new SIMD: -m 4500 -a 0 2016-02-06 10:07:54 +01:00
Jens Steube
6369c0b899 Converted to new SIMD: -m 4400 -a 0 2016-02-06 10:04:45 +01:00
Jens Steube
a43a7d5786 Converted to new SIMD: -m 4310 -a 0 2016-02-05 21:58:59 +01:00
Jens Steube
53a31f840e Converted to new SIMD: -m 3800 -a 0 2016-02-05 21:53:47 +01:00
Jens Steube
de79ce8958 Converted to new SIMD: -m 3710 -a 0 2016-02-05 21:51:01 +01:00
Jens Steube
ceb96a7735 Converted to new SIMD: -m 3100 -a 0 2016-02-05 21:44:23 +01:00
Jens Steube
ffab75a8d4 Converted to new SIMD: -m 3000 -a 0 2016-02-05 21:32:44 +01:00
Jens Steube
605f8f07fb Converted to new SIMD: -m 2810 -a 0 2016-02-05 21:23:39 +01:00
Jens Steube
ef3afbab9d Converted to new SIMD: -m 2710 -a 0 2016-02-05 21:20:42 +01:00
Jens Steube
0584c7a387 Converted to new SIMD: -m 2610 -a 0 2016-02-05 21:20:22 +01:00
Jens Steube
ebcdbf1858 Converted to new SIMD: -m 2410 -a 0 2016-02-05 18:12:12 +01:00
Jens Steube
879cc4242d Converted to new SIMD: -m 2400 -a 0 2016-02-05 18:11:54 +01:00
Jens Steube
fbd46f61be Converted to new SIMD: -m 1760 -a 0 2016-02-05 18:01:37 +01:00
Jens Steube
404f4ca37c Converted to new SIMD: -m 1750 -a 0 2016-02-05 18:00:47 +01:00
Jens Steube
82de33e7fa Converted to new SIMD: -m 1740 -a 0 2016-02-05 17:55:55 +01:00
Jens Steube
3b36c2a7df Converted to new SIMD: -m 1730 -a 0 2016-02-05 17:54:04 +01:00
Jens Steube
7b4dc7f1b7 Converted to new SIMD: -m 1720 -a 0 2016-02-05 17:53:03 +01:00
Jens Steube
520fdec146 Converted to new SIMD: -m 1710 -a 0 2016-02-05 17:52:52 +01:00
Jens Steube
1d43f80ea5 Converted to new SIMD: -m 1700 -a 0 2016-02-05 17:52:42 +01:00
Jens Steube
7c8532fe93 Converted to new SIMD: -m 190 -a 0 2016-02-05 17:44:33 +01:00
Jens Steube
811090ff23 Converted to new SIMD: -m 1500 -a 0 2016-02-05 17:43:34 +01:00
Jens Steube
714f75d551 Converted to new SIMD: -m 1460 -a 0 2016-02-05 17:43:31 +01:00
Jens Steube
1983b03fe8 Converted to new SIMD: -m 1450 -a 0 2016-02-05 17:43:28 +01:00
Jens Steube
bc3f56555b Converted to new SIMD: -m 1440 -a 0 2016-02-05 17:43:25 +01:00
Jens Steube
c8bfcb9de9 Converted to new SIMD: -m 1430 -a 0 2016-02-05 17:43:22 +01:00
Jens Steube
8ee13182f7 Converted to new SIMD: -m 1420 -a 0 2016-02-05 17:43:19 +01:00
Jens Steube
4f842ea28b Converted to new SIMD: -m 1410 -a 0 2016-02-05 17:43:16 +01:00
Jens Steube
b335e5610f Converted to new SIMD: -m 1400 -a 0 2016-02-05 17:43:13 +01:00
Jens Steube
df0cba1205 Converted to new SIMD: -m 1100 -a 0 2016-02-05 17:43:10 +01:00
Jens Steube
14da5fb2fb Converted to new SIMD: -m 900 -a 0 2016-02-05 17:43:07 +01:00
Jens Steube
46f222dc4e Converted to new SIMD: -m 300 -a 0 2016-02-05 17:43:03 +01:00
Jens Steube
d2f49e3668 Converted to new SIMD: -m 200 -a 0 2016-02-05 17:43:00 +01:00
Jens Steube
73b9732f55 Converted to new SIMD: -m 160 -a 0 2016-02-05 17:41:45 +01:00
Jens Steube
033864a418 Converted to new SIMD: -m 150 -a 0 2016-02-05 17:41:42 +01:00
Jens Steube
8eaf8d2422 Converted to new SIMD: -m 140 -a 0 2016-02-05 17:41:39 +01:00
Jens Steube
faf34b3787 Converted to new SIMD: -m 130 -a 0 2016-02-05 17:41:36 +01:00
Jens Steube
83de129659 Converted to new SIMD: -m 120 -a 0 2016-02-05 17:41:33 +01:00
Jens Steube
565b7deb6e Converted to new SIMD: -m 110 -a 0 2016-02-05 17:41:30 +01:00
Jens Steube
4575554830 Converted to new SIMD: -m 100 -a 0 2016-02-05 17:41:27 +01:00
Jens Steube
92a8f820c9 Converted to new SIMD: -m 60 -a 0 2016-02-05 17:41:24 +01:00
Jens Steube
e602324149 Converted to new SIMD: -m 50 -a 0 2016-02-05 17:41:14 +01:00
Jens Steube
f5cd034357 Converted to new SIMD: -m 40 -a 0 2016-02-05 17:41:11 +01:00
Jens Steube
c3492115a1 Converted to new SIMD: -m 30 -a 0 2016-02-05 17:41:08 +01:00
Jens Steube
ad3aef39f5 Converted to new SIMD: -m 20 -a 0 2016-02-05 17:41:05 +01:00
Jens Steube
626e1b64d5 Converted to new SIMD: -m 10 -a 0 2016-02-05 17:38:39 +01:00
Jens Steube
b6f10a2a81 Fix some bugs related to -a0, all caused by the same pitfall 2016-02-04 23:25:52 +01:00
Jens Steube
737678284f Converted to new SIMD: -m 10100 -a 0 2016-02-04 23:12:24 +01:00
Jens Steube
b68146db7b Converted to new SIMD: -m 10420 -a 0 2016-02-04 22:57:50 +01:00
Jens Steube
09dfc98797 Converted to new SIMD: -m 10800 -a 0 2016-02-04 22:52:01 +01:00
Jens Steube
1bede41eac Converted to new SIMD: -m 11000 -a 0 2016-02-04 22:47:02 +01:00
Jens Steube
06dc6ba656 Converted to new SIMD: -m 11100 -a 0 2016-02-04 22:38:55 +01:00
Jens Steube
74c1659426 Converted to new SIMD: -m 11200 -a 0 2016-02-04 22:31:51 +01:00
Jens Steube
6534211f36 Converted to new SIMD: -m 11400 -a 0 2016-02-04 22:20:30 +01:00
Jens Steube
a9b204c91d Converted to new SIMD: -m 11500 -a 0 2016-02-04 22:09:21 +01:00
Jens Steube
2381af313d Some cleanups 2016-02-04 15:47:52 +01:00
Jens Steube
aaf15d2662 Converted to new SIMD: -m 11700 -a 0 2016-02-01 21:34:57 +01:00
Jens Steube
05a9823252 Converted to new SIMD: -m 11800 -a 0 2016-02-01 21:31:06 +01:00
Jens Steube
d752f17652 Converted to new SIMD: -m 12600 -a 0 2016-02-01 21:24:13 +01:00
Jens Steube
d8e58d5fd3 Prepare _a0 kernel for SIMD 2016-02-01 21:06:56 +01:00
Jens Steube
aa0ce6b3ff SIMD code convert for -m 0 and -a 0 2016-01-31 19:38:00 +01:00
Jens Steube
1934c2afe0 SIMD code convert for -m 0 and -a 0 2016-01-31 19:33:46 +01:00
Jens Steube
3149efd178 Merge pull request #188 from gm4tr1x/AppleOpenCLv3
Fixed __constant in m10410 (see PR #179 for details)
2016-01-31 19:18:45 +01:00
Gabriele 'matrix' Gristina
27f1863216 Fixed __constant in m10410 (see PR #179 for details) 2016-01-31 19:17:33 +01:00
Gabriele 'matrix' Gristina
4a60ec3a97 Fixed __local in m06232 and m06233 (see PR #179 for details) 2016-01-31 19:08:43 +01:00
Jens Steube
6846348602 Use a different workaround for a catalyst bug which takes effect in sha512crypt 2016-01-31 17:24:12 +01:00