1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 14:48:12 +00:00

Fix unrolling with SHA512

This commit is contained in:
jsteube 2015-12-22 11:45:32 +01:00
parent a9286ea475
commit ff4dbcbacf
13 changed files with 13 additions and 13 deletions

View File

@ -116,7 +116,7 @@ static void sha512_transform (const u64 w0[4], const u64 w1[4], const u64 w2[4],
ROUND_STEP (0); ROUND_STEP (0);
//#pragma unroll // kernel fails if used //#pragma unroll
for (int i = 16; i < 80; i += 16) for (int i = 16; i < 80; i += 16)
{ {
ROUND_EXPAND (); ROUND_STEP (i); ROUND_EXPAND (); ROUND_STEP (i);

View File

@ -114,7 +114,7 @@ static void sha512_transform (const u64 w0[4], const u64 w1[4], const u64 w2[4],
ROUND_STEP (0); ROUND_STEP (0);
//#pragma unroll // kernel fails if used //#pragma unroll
for (int i = 16; i < 80; i += 16) for (int i = 16; i < 80; i += 16)
{ {
ROUND_EXPAND (); ROUND_STEP (i); ROUND_EXPAND (); ROUND_STEP (i);

View File

@ -114,7 +114,7 @@ static void sha512_transform (const u64 w0[4], const u64 w1[4], const u64 w2[4],
ROUND_STEP (0); ROUND_STEP (0);
//#pragma unroll // kernel fails if used //#pragma unroll
for (int i = 16; i < 80; i += 16) for (int i = 16; i < 80; i += 16)
{ {
ROUND_EXPAND (); ROUND_STEP (i); ROUND_EXPAND (); ROUND_STEP (i);

View File

@ -116,7 +116,7 @@ static void sha512_transform (const u64 w0[4], const u64 w1[4], const u64 w2[4],
ROUND_STEP (0); ROUND_STEP (0);
//#pragma unroll // kernel fails if used //#pragma unroll
for (int i = 16; i < 80; i += 16) for (int i = 16; i < 80; i += 16)
{ {
ROUND_EXPAND (); ROUND_STEP (i); ROUND_EXPAND (); ROUND_STEP (i);

View File

@ -114,7 +114,7 @@ static void sha512_transform (const u64 w0[4], const u64 w1[4], const u64 w2[4],
ROUND_STEP (0); ROUND_STEP (0);
//#pragma unroll // kernel fails if used //#pragma unroll
for (int i = 16; i < 80; i += 16) for (int i = 16; i < 80; i += 16)
{ {
ROUND_EXPAND (); ROUND_STEP (i); ROUND_EXPAND (); ROUND_STEP (i);

View File

@ -114,7 +114,7 @@ static void sha512_transform (const u64 w0[4], const u64 w1[4], const u64 w2[4],
ROUND_STEP (0); ROUND_STEP (0);
//#pragma unroll // kernel fails if used //#pragma unroll
for (int i = 16; i < 80; i += 16) for (int i = 16; i < 80; i += 16)
{ {
ROUND_EXPAND (); ROUND_STEP (i); ROUND_EXPAND (); ROUND_STEP (i);

View File

@ -114,7 +114,7 @@ static void sha512_transform (const u64 w0[4], const u64 w1[4], const u64 w2[4],
ROUND_STEP (0); ROUND_STEP (0);
//#pragma unroll // kernel fails if used //#pragma unroll
for (int i = 16; i < 80; i += 16) for (int i = 16; i < 80; i += 16)
{ {
ROUND_EXPAND (); ROUND_STEP (i); ROUND_EXPAND (); ROUND_STEP (i);

View File

@ -114,7 +114,7 @@ static void sha512_transform (const u64 w[16], u64 dgst[8])
ROUND_STEP (0); ROUND_STEP (0);
//#pragma unroll // kernel fails if used //#pragma unroll
for (int i = 16; i < 80; i += 16) for (int i = 16; i < 80; i += 16)
{ {
ROUND_EXPAND (); ROUND_STEP (i); ROUND_EXPAND (); ROUND_STEP (i);

View File

@ -114,7 +114,7 @@ static 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) for (int i = 16; i < 80; i += 16)
{ {
ROUND_EXPAND (); ROUND_STEP (i); ROUND_EXPAND (); ROUND_STEP (i);

View File

@ -321,7 +321,7 @@ static void sha512_transform (const u64 w[16], u64 dgst[8])
ROUND512_STEP (0); ROUND512_STEP (0);
//#pragma unroll // kernel fails if used //#pragma unroll
for (int i = 16; i < 80; i += 16) for (int i = 16; i < 80; i += 16)
{ {
ROUND512_EXPAND (); ROUND512_STEP (i); ROUND512_EXPAND (); ROUND512_STEP (i);

View File

@ -984,7 +984,7 @@ static 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) for (int i = 16; i < 80; i += 16)
{ {
ROUND_EXPAND (); ROUND_STEP (i); ROUND_EXPAND (); ROUND_STEP (i);

View File

@ -114,7 +114,7 @@ static void sha512_transform (const u64 w[16], u64 dgst[8])
ROUND_STEP (0); ROUND_STEP (0);
//#pragma unroll // kernel fails if used //#pragma unroll
for (int i = 16; i < 80; i += 16) for (int i = 16; i < 80; i += 16)
{ {
ROUND_EXPAND (); ROUND_STEP (i); ROUND_EXPAND (); ROUND_STEP (i);

View File

@ -114,7 +114,7 @@ static void sha512_transform (const u64 w[16], u64 dgst[8])
ROUND_STEP (0); ROUND_STEP (0);
//#pragma unroll // kernel fails if used //#pragma unroll
for (int i = 16; i < 80; i += 16) for (int i = 16; i < 80; i += 16)
{ {
ROUND_EXPAND (); ROUND_STEP (i); ROUND_EXPAND (); ROUND_STEP (i);