projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7f04a89
)
Enable unrolling of SHA512 with HMAC on NV
author
jsteube
<jens.steube@gmail.com>
Sun, 8 May 2016 14:07:40 +0000
(16:07 +0200)
committer
jsteube
<jens.steube@gmail.com>
Sun, 8 May 2016 14:07:40 +0000
(16:07 +0200)
17 files changed:
OpenCL/m01750_a0.cl
patch
|
blob
|
history
OpenCL/m01750_a1.cl
patch
|
blob
|
history
OpenCL/m01750_a3.cl
patch
|
blob
|
history
OpenCL/m01760_a0.cl
patch
|
blob
|
history
OpenCL/m01760_a1.cl
patch
|
blob
|
history
OpenCL/m01760_a3.cl
patch
|
blob
|
history
OpenCL/m06221.cl
patch
|
blob
|
history
OpenCL/m06222.cl
patch
|
blob
|
history
OpenCL/m06223.cl
patch
|
blob
|
history
OpenCL/m06500.cl
patch
|
blob
|
history
OpenCL/m07100.cl
patch
|
blob
|
history
OpenCL/m07900.cl
patch
|
blob
|
history
OpenCL/m08200.cl
patch
|
blob
|
history
OpenCL/m09600.cl
patch
|
blob
|
history
OpenCL/m11300.cl
patch
|
blob
|
history
OpenCL/m12200.cl
patch
|
blob
|
history
OpenCL/m12300.cl
patch
|
blob
|
history
diff --git
a/OpenCL/m01750_a0.cl
b/OpenCL/m01750_a0.cl
index
0ad4790
..
5095385
100644
(file)
--- a/
OpenCL/m01750_a0.cl
+++ b/
OpenCL/m01750_a0.cl
@@
-116,7
+116,12
@@
void sha512_transform (const u64x w0[4], const u64x w1[4], const u64x w2[4], con
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m01750_a1.cl
b/OpenCL/m01750_a1.cl
index
f2697fc
..
d920d14
100644
(file)
--- a/
OpenCL/m01750_a1.cl
+++ b/
OpenCL/m01750_a1.cl
@@
-114,7
+114,12
@@
void sha512_transform (const u64x w0[4], const u64x w1[4], const u64x w2[4], con
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m01750_a3.cl
b/OpenCL/m01750_a3.cl
index
e213850
..
2f08963
100644
(file)
--- a/
OpenCL/m01750_a3.cl
+++ b/
OpenCL/m01750_a3.cl
@@
-114,7
+114,12
@@
void sha512_transform (const u64x w0[4], const u64x w1[4], const u64x w2[4], con
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m01760_a0.cl
b/OpenCL/m01760_a0.cl
index
f487180
..
8e2338f
100644
(file)
--- a/
OpenCL/m01760_a0.cl
+++ b/
OpenCL/m01760_a0.cl
@@
-116,7
+116,12
@@
void sha512_transform (const u64x w0[4], const u64x w1[4], const u64x w2[4], con
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m01760_a1.cl
b/OpenCL/m01760_a1.cl
index
d329446
..
a0ba4be
100644
(file)
--- a/
OpenCL/m01760_a1.cl
+++ b/
OpenCL/m01760_a1.cl
@@
-114,7
+114,12
@@
void sha512_transform (const u64x w0[4], const u64x w1[4], const u64x w2[4], con
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m01760_a3.cl
b/OpenCL/m01760_a3.cl
index
b45cfab
..
cb8ff6b
100644
(file)
--- a/
OpenCL/m01760_a3.cl
+++ b/
OpenCL/m01760_a3.cl
@@
-114,7
+114,12
@@
void sha512_transform (const u64x w0[4], const u64x w1[4], const u64x w2[4], con
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m06221.cl
b/OpenCL/m06221.cl
index
2949080
..
60bdf54
100644
(file)
--- a/
OpenCL/m06221.cl
+++ b/
OpenCL/m06221.cl
@@
-115,7
+115,12
@@
void sha512_transform (const u64 w[16], u64 dgst[8])
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m06222.cl
b/OpenCL/m06222.cl
index
2620c72
..
102a890
100644
(file)
--- a/
OpenCL/m06222.cl
+++ b/
OpenCL/m06222.cl
@@
-115,7
+115,12
@@
void sha512_transform (const u64 w[16], u64 dgst[8])
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m06223.cl
b/OpenCL/m06223.cl
index
a0eb7c2
..
86afa82
100644
(file)
--- a/
OpenCL/m06223.cl
+++ b/
OpenCL/m06223.cl
@@
-115,7
+115,12
@@
void sha512_transform (const u64 w[16], u64 dgst[8])
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m06500.cl
b/OpenCL/m06500.cl
index
44e4d7f
..
5fa3977
100644
(file)
--- a/
OpenCL/m06500.cl
+++ b/
OpenCL/m06500.cl
@@
-114,7
+114,12
@@
void sha512_transform (const u64 w0[4], const u64 w1[4], const u64 w2[4], const
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m07100.cl
b/OpenCL/m07100.cl
index
a9f0900
..
15252e7
100644
(file)
--- a/
OpenCL/m07100.cl
+++ b/
OpenCL/m07100.cl
@@
-114,7
+114,12
@@
void sha512_transform (const u64 w[16], u64 dgst[8])
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m07900.cl
b/OpenCL/m07900.cl
index
e2af127
..
40b13a7
100644
(file)
--- a/
OpenCL/m07900.cl
+++ b/
OpenCL/m07900.cl
@@
-114,7
+114,7
@@
void sha512_transform (const u64 w[16], u64 dgst[8])
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #pragma unroll
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m08200.cl
b/OpenCL/m08200.cl
index
73e076d
..
da4405e
100644
(file)
--- a/
OpenCL/m08200.cl
+++ b/
OpenCL/m08200.cl
@@
-321,7
+321,12
@@
void sha512_transform (const u64 w[16], u64 dgst[8])
ROUND512_STEP (0);
ROUND512_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND512_EXPAND (); ROUND512_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND512_EXPAND (); ROUND512_STEP (i);
diff --git
a/OpenCL/m09600.cl
b/OpenCL/m09600.cl
index
03cb525
..
f6d4ba6
100644
(file)
--- a/
OpenCL/m09600.cl
+++ b/
OpenCL/m09600.cl
@@
-1073,7
+1073,12
@@
void sha512_transform (const u64 w0[4], const u64 w1[4], const u64 w2[4], const
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m11300.cl
b/OpenCL/m11300.cl
index
db71c2f
..
0547e57
100644
(file)
--- a/
OpenCL/m11300.cl
+++ b/
OpenCL/m11300.cl
@@
-986,7
+986,7
@@
void sha512_transform (const u64 w[16], u64 dgst[8])
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #pragma unroll
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m12200.cl
b/OpenCL/m12200.cl
index
cbb96eb
..
001a5a2
100644
(file)
--- a/
OpenCL/m12200.cl
+++ b/
OpenCL/m12200.cl
@@
-114,7
+114,12
@@
void sha512_transform (const u64 w[16], u64 dgst[8])
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
diff --git
a/OpenCL/m12300.cl
b/OpenCL/m12300.cl
index
5ab6a05
..
33b410a
100644
(file)
--- a/
OpenCL/m12300.cl
+++ b/
OpenCL/m12300.cl
@@
-114,7
+114,12
@@
void sha512_transform (const u64 w[16], u64 dgst[8])
ROUND_STEP (0);
ROUND_STEP (0);
- //#pragma unroll
+ #ifdef IS_AMD
+ // #pragma unroll
+ // breaks compiler
+ #else
+ #pragma unroll
+ #endif
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);
for (int i = 16; i < 80; i += 16)
{
ROUND_EXPAND (); ROUND_STEP (i);