1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-30 03:48:17 +00:00
Commit Graph

1294 Commits

Author SHA1 Message Date
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
jsteube
19b9455c42 Workaround JIT-compiler or ForceWare Bug in sm_50 2016-01-31 15:29:54 +01:00
Gabriele 'matrix' Gristina
0f0984fe86 Fixed all gpu code (see PR #179 for details) 2016-01-30 23:02:15 +01:00
Gabriele 'matrix' Gristina
b0c8776e82 Fixed m03100_a* Apple OpenCL compiler issue 2016-01-30 21:55:42 +01:00
Jens Steube
eb60d6bb23 Remove MD4/MD5 *H1/*H2 functions and use original H functions. Modern compilers will find this easy optimization automatically 2016-01-29 18:38:34 +01:00
Gabriele 'matrix' Gristina
8dd7438485 Fixed __local issue with Apple platform for hash mode 6900 2016-01-29 14:17:46 +01:00
jsteube
7c6b3af23b Fix issue in https://github.com/hashcat/oclHashcat/issues/170 2016-01-27 20:01:08 +01:00
Jens Steube
acbdd81039 Merge pull request #161 from gm4tr1x/gpu-warnings3
Fixed compiler warnings (no previous prototype for function)
2016-01-26 18:14:02 +01:00
Jens Steube
88baf3c36a Merge pull request #160 from gm4tr1x/gpu-warnings2
Fixed compiler warnings (unused variable)
2016-01-26 18:13:51 +01:00
Gabriele 'matrix' Gristina
7acfac87cf Fixed compiler warnings (no previous prototype for function) 2016-01-25 13:35:58 +01:00
Gabriele 'matrix' Gristina
44c3f16bcb Fixed compiler warnings (unused variable) 2016-01-25 13:32:45 +01:00
Gabriele 'matrix' Gristina
8d6d907957 Fixed compiler warnings (comparison of integers of different signs) for kernel 7800 and 10100 2016-01-25 13:08:31 +01:00
jsteube
87c9afd910 Fix speed for 64-bit datatype based algorithms for NV 2016-01-24 00:25:14 +01:00
Jens Steube
aa55adf652 Revert some RC4 based kernels back to scalar processing 2016-01-23 22:27:31 +01:00
Jens Steube
b57a143e42 Merge pull request #149 from gm4tr1x/md5crypt_warnings
Fixed compiler warning (signed shift result) for kernel 500
2016-01-23 15:44:01 +01:00
Jens Steube
fbc3a3517c Merge pull request #148 from gm4tr1x/md5apr1_warnings
Fixed compiler warning (signed shift result) for kernel 1600
2016-01-23 15:43:54 +01:00
Jens Steube
1d3795a3ab Converted _a3 kernels, use SIMD for CPU and GPU 2016-01-23 15:32:31 +01:00
Gabriele 'matrix' Gristina
71402d8596 Fixed compiler warning (signed shift result) for kernel 500 2016-01-22 12:46:04 +01:00
Gabriele 'matrix' Gristina
61244200fc Fixed compiler warning (signed shift result) for kernel 1600 2016-01-22 12:35:27 +01:00
Jens Steube
4c0e520fd8 Test convert for -m 1000 with -a 0 for SIMD, speed is now on par or faster than hashcat 2016-01-21 16:47:38 +01:00
Jens Steube
cd430d5687 Merge branch 'master' of https://github.com/hashcat/oclHashcat 2016-01-20 16:46:11 +01:00
Jens Steube
5b5a06ca25 Converted -m 30 to new SIMD code 2016-01-20 16:45:48 +01:00
jsteube
b9ad26fa67 Fix algorithms based on 64 bit datatypes for older NV cards 2016-01-19 21:27:39 +01:00
Jens Steube
62f66a8784 Workaround AMD catalyst optimizer bug in rule-engine 2016-01-19 20:54:25 +01:00
Jens Steube
a62b7ed06e Upgrade kernel to support dynamic local work sizes 2016-01-19 16:06:03 +01:00
Jens Steube
040acd3c34 Accidentially removed multihash kernel for LM 2016-01-18 07:12:50 +01:00
Jens Steube
3fdb930cf3 Add missing amd_bytealign_S() 2016-01-17 22:21:13 +01:00
jsteube
e3c0c80b6f Prepare new SIMD code for kernel, -m 0, 10, 20, 1000 should work in -a 3 mode and other hopefully stay unaffected 2016-01-17 22:17:50 +01:00
jsteube
e0ea23bda9 Fix bug in rule-engine for NV, left shifts and right shifts were switched 2016-01-16 13:34:54 +01:00
Jens Steube
ed91e69ae3 Fix out of bounds access in -m 7500 2016-01-14 22:13:06 +01:00
jsteube
76612ac031 Fix more missing casts to uint in rule-engine 2016-01-14 20:54:41 +01:00
Jens Steube
245301c9b4 Started optimizing some of the OpenCL kernel for latest AMD Catalyst 15.12:
- Replaced SBOX for DES:

replaced JtR's * Bitslice DES S-boxes making use of a vector conditional select operation (e.g., vsel on PowerPC with AltiVec).
with     JtR's * Bitslice DES S-boxes for x86 with MMX/SSE2/AVX and for typical RISC architectures.

Performance increased for DEScrypt from 355MH/s to 405MH/s and for LM from 11100MH/s to 12000MH/s

BTW, the same effect can be seen with non-maxwell GPU's

- Remove some volatile keywords no longer needed thanks to fixed catalyst bugs

- Fix weak-hash-check parameter for use with tools/test.sh
2016-01-14 19:44:47 +01:00
jsteube
f0a84a2410 Added new hash mode -m 13000 = RAR5 2016-01-09 20:34:12 +01:00
jsteube
332b3c35e5 Added new hash mode -m 12900 = Android FDE (Samsung DEK) 2016-01-09 00:49:54 +01:00
jsteube
e8229af09b Fix for -m 1500, -m 3000: Missing "defined" keyword
Fix for -m 1000: MD4_H1 copy/paste error
Fix for -m 8900, -m 9300: Invalid value for device_processor_cores for CPU devices
Fix for -m 9100: Variable salt2 initializer needed some clauses for clearness
Temporary limit gpu_accel for CPU devices to 1 for development phase
Mark pocl as too bleeding edge for production use, recommend native drivers
Remove workarounds for pocl
Rename VENDOR_ID_UNKNOWN to VENDOR_ID_GENERIC in host code
Rename IS_UNKNOWN to IS_GENERIC in kernel code
2016-01-07 20:14:34 +01:00
jsteube
39c44f2007 More fixes for IS_UNKNOWN in kernels 2016-01-05 23:10:04 +01:00
jsteube
bacc1049e3 More fixes for IS_UNKNOWN in kernels 2016-01-05 23:05:06 +01:00
jsteube
8e3a72f911 More fixes for IS_UNKNOWN in kernels 2016-01-05 22:47:56 +01:00
jsteube
331188167c Replace the substring GPU to a more appropriate "device" or "kernel" substring depending on the context 2016-01-05 08:26:44 +01:00
jsteube
f6d8da52a1 Fix blowfish based algorithms for unknown opencl platform usage 2016-01-04 22:21:13 +01:00
jsteube
8b50b60484 More fixes for general OpenCL platforms 2016-01-04 19:23:21 +01:00
jsteube
c4b1c8e7ca small fix for unknown opencl platforms 2016-01-04 16:13:10 +01:00
jsteube
3b589e3aac Prepare for allow other OpenCL platforms thans AMD and NVidia 2016-01-04 13:17:20 +01:00
jsteube
083daf4613 Fix path to includes 2016-01-03 21:00:36 +01:00
jsteube
0428514f61 Extended support from 14 to 255 functions calls per rule on GPU 2016-01-03 19:49:47 +01:00
jsteube
61744662c0 Fix path to includes 2016-01-03 01:56:41 +01:00
jsteube
5f7c47b461 Fix path to includes 2016-01-03 01:48:05 +01:00
jsteube
87095191d7 Updated old RC4 code in Kerberos 5, increased performance 2015-12-30 21:53:01 +01:00
jsteube
a849313093 Fix speed -m 9700, 9710, 9800 and 9810 for NV, also increases some on AMD 2015-12-30 21:30:29 +01:00
jsteube
bd16fd4cfc Declare word_buf_r as __constant for _a3 kernel
AMD's runtime compiler does that automatically, NV's does not or with different (but worse) thresholds
2015-12-30 16:54:08 +01:00
jsteube
7807eb6f2d Fix -m 7800 for NV 2015-12-30 00:29:39 +01:00
jsteube
68662f0062 replace swap32 and swap64 with faster versions for NV 2015-12-30 00:13:59 +01:00
jsteube
d94cd314f2 Fix TC whirlpool speed for NV 2015-12-28 22:07:09 +01:00
jsteube
94d6fd3693 revert switch to rotate () 2015-12-27 21:22:54 +01:00
jsteube
3942ae02a2 Speedup -m 5300 2015-12-27 20:15:24 +01:00
jsteube
e68419f19e Speedup -m 5400# 2015-12-27 20:01:10 +01:00
jsteube
212395168f Testchange for speed 2015-12-27 19:23:55 +01:00
jsteube
da66ce7538 Fix -m 8000 for NV 2015-12-27 17:13:17 +01:00
Jens Steube
0f906dcfeb Fix a bug in the implementation of GOST R 34.11-94, zero length passwords were not cracked 2015-12-26 17:10:03 +01:00
Jens Steube
bf5218c4dd Fix LM bug for both NV and AMD 2015-12-26 10:14:42 +01:00
jsteube
f3a394b85d Workaround buggy NV OpenCL runtime 2015-12-24 12:10:03 +01:00
jsteube
0522ca9cbe Revert "Workaround buggy NV OpenCL runtime"
This reverts commit 90eba9cd2e.
2015-12-24 12:05:43 +01:00
jsteube
90eba9cd2e Workaround buggy NV OpenCL runtime 2015-12-24 12:01:39 +01:00
jsteube
8057d89333 speedup -m 5800 for NV 2015-12-23 18:35:38 +01:00
jsteube
3ab31807d4 Another small increased bcrypt speed for NV 2015-12-22 23:56:12 +01:00
jsteube
c894787510 Remove unused stuff from bcrypt 2015-12-22 23:46:40 +01:00
jsteube
84568e5b3d Increase bcrypt speed for NV 2015-12-22 23:43:39 +01:00
jsteube
67058ca7d4 Fixed other md5crypt based algos for NV 2015-12-22 22:02:17 +01:00
jsteube
042d3f590a Fix md5crypt for NV 2015-12-22 21:26:11 +01:00
jsteube
ff4dbcbacf Fix unrolling with SHA512 2015-12-22 11:45:32 +01:00
jsteube
a9286ea475 Revert "increase bcrypt again a bit"
This reverts commit c315ea94a2.

Broke functionality
2015-12-22 02:21:27 +01:00
jsteube
c315ea94a2 increase bcrypt again a bit 2015-12-22 02:17:48 +01:00
jsteube
21891bf8db Fix 64 bit based rotates for use with ForceWare >= 358.x 2015-12-21 23:49:22 +01:00
jsteube
3026167257 Fix indent 2015-12-21 21:17:42 +01:00
jsteube
964ece53a3 add __bfe stub for AMD 2015-12-21 21:14:16 +01:00
jsteube
6c22de104e Slightly increase blowfish based algorithms for NV 2015-12-21 21:00:52 +01:00
Jens Steube
747c4a8d6a Fix blowfish based algos for AMD, NV needs testing 2015-12-21 20:21:53 +01:00
jsteube
18d5f4126a Fix -m 9000 speed (AMD ONLY) 2015-12-21 17:06:17 +01:00
Jens Steube
0e5b37a537 Fix AMD speeds @ sha512crypt 2015-12-21 14:50:13 +01:00
jsteube
7be2c2fd8d Fixed some speeds:
1800
3200
7100
7200
7400
8200
9300
9000
9600
11300
11600
2015-12-21 14:29:04 +01:00
jsteube
32b8684d75 Fix Lotus Notes/Domino 8 for NV 2015-12-20 22:53:14 +01:00
jsteube
86ab5e1754 Fix Lotus Notes/Domino 6 for NV 2015-12-20 22:48:36 +01:00
jsteube
dde2da2a22 Fix Lotus Notes/Domino 5 for NV 2015-12-20 22:46:59 +01:00
jsteube
ca845c9f66 Fix Android/PIN for NV 2015-12-20 22:32:40 +01:00
jsteube
2eb24fb0dc Fix bsdicrypt for NV 2015-12-20 22:09:55 +01:00
jsteube
1d4bece384 Revert "Fix bsdicrypt for NV"
This reverts commit 284990e4d3.

Accidentially changed oclHashcat.c
2015-12-20 22:08:59 +01:00
jsteube
284990e4d3 Fix bsdicrypt for NV 2015-12-20 22:07:44 +01:00
Jens Steube
bab6423725 Remove some unused variables in scrypt kernel 2015-12-20 17:02:02 +01:00
Jens Steube
c4ea00459f Remove old macro, not needed anymore 2015-12-20 16:59:02 +01:00
jsteube
c3191ae694 Fix keccak speed on NV OpenCL runtime 2015-12-20 16:09:00 +01:00
jsteube
96a368715f Fix -m 11700 and -m 11800 2015-12-19 18:30:34 +01:00
jsteube
767ba4fb97 Fix -m 6500 2015-12-19 18:21:41 +01:00
jsteube
ea4dc395dd Fix -m 10700 2015-12-19 18:18:54 +01:00
jsteube
9115547601 Revert "Fix -m 10700"
This reverts commit 15da53da38.
2015-12-19 18:18:28 +01:00
jsteube
15da53da38 Fix -m 10700 2015-12-19 18:17:19 +01:00
jsteube
91249942ab Fix -m 1800 for NV 2015-12-17 19:19:31 +01:00
jsteube
ed35c11e2a Fix -m 8500 kernel 2015-12-16 16:21:10 +01:00
jsteube
9d9097a12c Fix -m 7800 by adding amd_bytealign emulation 2015-12-16 16:15:21 +01:00
jsteube
67cff7b856 fixed -m 6900 2015-12-16 15:45:05 +01:00
jsteube
aedc142d0b fix -m 5500 2015-12-16 15:38:25 +01:00
Jens Steube
aa63e82d49 fix -m 3100 2015-12-16 15:27:34 +01:00
jsteube
dc6133d95b Fix -m 3000 kernel 2015-12-16 13:27:34 +01:00
jsteube
1b1c70708f Fix -m 1500 for -a 0 and -a 1 attack mode 2015-12-16 12:53:52 +01:00
jsteube
acea69c561 final cleanup for -m 1500 2015-12-16 12:06:18 +01:00
jsteube
661225f03f Fix -m 1500 for NV
Fix C++ function header
2015-12-16 11:52:32 +01:00
jsteube
9c392b472e Removed useless comments 2015-12-16 11:18:57 +01:00
jsteube
c29c7c093f Fix use of LOP3 2015-12-16 11:11:31 +01:00
jsteube
6a65c7b1ce Prepare for LOP3 integration 2015-12-16 10:19:17 +01:00
jsteube
76cc1631be More kernel fixes for function calls and vector datatypes 2015-12-15 17:46:00 +01:00
jsteube
2283d5c843 Fix more append_* functions in kernels 2015-12-15 16:50:21 +01:00
jsteube
50f39b3563 Fix append_* function calls 2015-12-15 13:42:37 +01:00
jsteube
88284108b3 More cleanup 2015-12-15 13:23:32 +01:00
jsteube
0bf4e3c34a - Dropped all vector code since new GPU's are all scalar, makes the code much easier
- Some performance on low-end GPU may drop because of that, but only for a few hash-modes
- Dropped scalar code (aka warp) since we do not have any vector datatypes anymore
- Renamed C++ overloading functions memcat32_9 -> memcat_c32_w4x4_a3x4
- Still need to fix kernels to new function names, needs to be done manually
- Temperature Management needs to be rewritten partially because of conflicting datatypes names
- Added code to create different codepaths for NV on AMD in runtime in host (see data.vendor_id)
- Added code to create different codepaths for NV on AMD in runtime in kernels (see IS_NV and IS_AMD)
- First tests working for -m 0, for example
- Great performance increases in general for NV so far
- Tested amp_* and markov_* kernel
- Migrated special NV optimizations for rule processor
2015-12-15 12:04:22 +01:00