projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bacc104
)
More fixes for IS_UNKNOWN in kernels
author
jsteube
<jens.steube@gmail.com>
Tue, 5 Jan 2016 22:10:04 +0000
(23:10 +0100)
committer
jsteube
<jens.steube@gmail.com>
Tue, 5 Jan 2016 22:10:04 +0000
(23:10 +0100)
OpenCL/m01800.cl
patch
|
blob
|
history
diff --git
a/OpenCL/m01800.cl
b/OpenCL/m01800.cl
index
389efab
..
1208d0f
100644
(file)
--- a/
OpenCL/m01800.cl
+++ b/
OpenCL/m01800.cl
@@
-27,7
+27,7
@@
typedef struct
{
u64 state[8];
u64 buf[16];
- int len;
+ int len;
} sha512_ctx_t;
@@
-253,6
+253,10
@@
static void sha512_update (sha512_ctx_t *sha512_ctx, const u64 *buf, int len)
sha512_transform (sha512_ctx->buf, sha512_ctx->state);
#endif
+ #ifdef IS_UNKNOWN
+ sha512_transform (sha512_ctx->buf, sha512_ctx->state);
+ #endif
+
len -= cnt;
for (int i = 0; i < len; i++)