projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc3e152
)
Fix Truecrypt Whirlpool speed
author
Jens Steube
<jens.steube@gmail.com>
Tue, 16 Feb 2016 09:47:40 +0000
(10:47 +0100)
committer
Jens Steube
<jens.steube@gmail.com>
Tue, 16 Feb 2016 09:47:40 +0000
(10:47 +0100)
OpenCL/m06231.cl
patch
|
blob
|
history
diff --git
a/OpenCL/m06231.cl
b/OpenCL/m06231.cl
index
ec85d19
..
3a77b5f
100644
(file)
--- a/
OpenCL/m06231.cl
+++ b/
OpenCL/m06231.cl
@@
-1175,6
+1175,7
@@
static void whirlpool_transform_last (u32 dgst[16], __local u32 (*s_Ch)[256], __
u32 i;
+ #pragma unroll
for (i = 0; i < 8; i++)
{
const u32 Lp0 = Kh[(i + 8) & 7] >> 24;
@@
-1222,6
+1223,7
@@
static void whirlpool_transform_last (u32 dgst[16], __local u32 (*s_Ch)[256], __
Kh[7] = Lh[7];
Kl[7] = Ll[7];
+ #pragma unroll
for (i = 0; i < 8; i++)
{
const u32 Lp0 = stateh[(i + 8) & 7] >> 24;
@@
-1369,6
+1371,7
@@
static void whirlpool_transform (const u32 w[16], u32 dgst[16], __local u32 (*s_
u32 i;
+ #pragma unroll
for (i = 0; i < 8; i++)
{
const u32 Lp0 = Kh[(i + 8) & 7] >> 24;
@@
-1416,6
+1419,7
@@
static void whirlpool_transform (const u32 w[16], u32 dgst[16], __local u32 (*s_
Kh[7] = Lh[7];
Kl[7] = Ll[7];
+ #pragma unroll
for (i = 0; i < 8; i++)
{
const u32 Lp0 = stateh[(i + 8) & 7] >> 24;