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:
parent
a9286ea475
commit
ff4dbcbacf
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user