projects
/
hashcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare for a more dynamic #pragma unroll use
[hashcat.git]
/
OpenCL
/
m06231.cl
diff --git
a/OpenCL/m06231.cl
b/OpenCL/m06231.cl
index
e64748f
..
b134603
100644
(file)
--- a/
OpenCL/m06231.cl
+++ b/
OpenCL/m06231.cl
@@
-1175,7
+1175,9
@@
void whirlpool_transform_last (u32 dgst[16], __local u32 (*s_Ch)[256], __local u
u32 i;
u32 i;
+ #ifdef _unroll
#pragma unroll
#pragma unroll
+ #endif
for (i = 0; i < 8; i++)
{
const u32 Lp0 = Kh[(i + 8) & 7] >> 24;
for (i = 0; i < 8; i++)
{
const u32 Lp0 = Kh[(i + 8) & 7] >> 24;
@@
-1223,7
+1225,9
@@
void whirlpool_transform_last (u32 dgst[16], __local u32 (*s_Ch)[256], __local u
Kh[7] = Lh[7];
Kl[7] = Ll[7];
Kh[7] = Lh[7];
Kl[7] = Ll[7];
+ #ifdef _unroll
#pragma unroll
#pragma unroll
+ #endif
for (i = 0; i < 8; i++)
{
const u32 Lp0 = stateh[(i + 8) & 7] >> 24;
for (i = 0; i < 8; i++)
{
const u32 Lp0 = stateh[(i + 8) & 7] >> 24;
@@
-1371,7
+1375,9
@@
void whirlpool_transform (const u32 w[16], u32 dgst[16], __local u32 (*s_Ch)[256
u32 i;
u32 i;
+ #ifdef _unroll
#pragma unroll
#pragma unroll
+ #endif
for (i = 0; i < 8; i++)
{
const u32 Lp0 = Kh[(i + 8) & 7] >> 24;
for (i = 0; i < 8; i++)
{
const u32 Lp0 = Kh[(i + 8) & 7] >> 24;
@@
-1419,7
+1425,9
@@
void whirlpool_transform (const u32 w[16], u32 dgst[16], __local u32 (*s_Ch)[256
Kh[7] = Lh[7];
Kl[7] = Ll[7];
Kh[7] = Lh[7];
Kl[7] = Ll[7];
+ #ifdef _unroll
#pragma unroll
#pragma unroll
+ #endif
for (i = 0; i < 8; i++)
{
const u32 Lp0 = stateh[(i + 8) & 7] >> 24;
for (i = 0; i < 8; i++)
{
const u32 Lp0 = stateh[(i + 8) & 7] >> 24;