1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00

Fix const keywords in -m 8600

This commit is contained in:
jsteube 2017-07-23 13:01:54 +02:00
parent c255a967df
commit 4c71bc984e
3 changed files with 9 additions and 9 deletions

View File

@ -86,7 +86,7 @@ void lotus_mix (u32x *in, __local u32 *s_lotus_magic_table)
}
}
void lotus_transform_password (u32x in[4], u32x out[4], __local u32 *s_lotus_magic_table)
void lotus_transform_password (const u32x in[4], u32x out[4], __local u32 *s_lotus_magic_table)
{
u32x t = out[3] >> 24;
@ -183,7 +183,7 @@ void pad (u32 w[4], const u32 len)
}
}
void mdtransform_norecalc (u32x state[4], u32x block[4], __local u32 *s_lotus_magic_table)
void mdtransform_norecalc (u32x state[4], const u32x block[4], __local u32 *s_lotus_magic_table)
{
u32x x[12];
@ -208,7 +208,7 @@ void mdtransform_norecalc (u32x state[4], u32x block[4], __local u32 *s_lotus_ma
state[3] = x[3];
}
void mdtransform (u32x state[4], u32x checksum[4], u32x block[4], __local u32 *s_lotus_magic_table)
void mdtransform (u32x state[4], u32x checksum[4], const u32x block[4], __local u32 *s_lotus_magic_table)
{
mdtransform_norecalc (state, block, s_lotus_magic_table);

View File

@ -84,7 +84,7 @@ void lotus_mix (u32x *in, __local u32 *s_lotus_magic_table)
}
}
void lotus_transform_password (u32x in[4], u32x out[4], __local u32 *s_lotus_magic_table)
void lotus_transform_password (const u32x in[4], u32x out[4], __local u32 *s_lotus_magic_table)
{
u32x t = out[3] >> 24;
@ -181,7 +181,7 @@ void pad (u32 w[4], const u32 len)
}
}
void mdtransform_norecalc (u32x state[4], u32x block[4], __local u32 *s_lotus_magic_table)
void mdtransform_norecalc (u32x state[4], const u32x block[4], __local u32 *s_lotus_magic_table)
{
u32x x[12];
@ -206,7 +206,7 @@ void mdtransform_norecalc (u32x state[4], u32x block[4], __local u32 *s_lotus_ma
state[3] = x[3];
}
void mdtransform (u32x state[4], u32x checksum[4], u32x block[4], __local u32 *s_lotus_magic_table)
void mdtransform (u32x state[4], u32x checksum[4], const u32x block[4], __local u32 *s_lotus_magic_table)
{
mdtransform_norecalc (state, block, s_lotus_magic_table);

View File

@ -83,7 +83,7 @@ void lotus_mix (u32x *in, __local u32 *s_lotus_magic_table)
}
}
void lotus_transform_password (u32x in[4], u32x out[4], __local u32 *s_lotus_magic_table)
void lotus_transform_password (const u32x in[4], u32x out[4], __local u32 *s_lotus_magic_table)
{
u32x t = out[3] >> 24;
@ -180,7 +180,7 @@ void pad (u32 w[4], const u32 len)
}
}
void mdtransform_norecalc (u32x state[4], u32x block[4], __local u32 *s_lotus_magic_table)
void mdtransform_norecalc (u32x state[4], const u32x block[4], __local u32 *s_lotus_magic_table)
{
u32x x[12];
@ -205,7 +205,7 @@ void mdtransform_norecalc (u32x state[4], u32x block[4], __local u32 *s_lotus_ma
state[3] = x[3];
}
void mdtransform (u32x state[4], u32x checksum[4], u32x block[4], __local u32 *s_lotus_magic_table)
void mdtransform (u32x state[4], u32x checksum[4], const u32x block[4], __local u32 *s_lotus_magic_table)
{
mdtransform_norecalc (state, block, s_lotus_magic_table);