1
mirror of https://github.com/hashcat/hashcat synced 2024-12-27 05:13:45 +01:00

fixed -m 6900

This commit is contained in:
jsteube 2015-12-16 15:45:05 +01:00
parent aedc142d0b
commit 67cff7b856
3 changed files with 24 additions and 24 deletions

View File

@ -296,15 +296,15 @@ __constant u32 c_tables[4][256] =
{ \
u32 t; \
t = (k1) + r; \
l ^= BOX (amd_bfe (t, 0, 8), 0, tbl) ^ \
BOX (amd_bfe (t, 8, 8), 1, tbl) ^ \
BOX (amd_bfe (t, 16, 8), 2, tbl) ^ \
BOX (amd_bfe (t, 24, 8), 3, tbl); \
l ^= BOX (((t >> 0) & 0xff), 0, tbl) ^ \
BOX (((t >> 8) & 0xff), 1, tbl) ^ \
BOX (((t >> 16) & 0xff), 2, tbl) ^ \
BOX (((t >> 24) & 0xff), 3, tbl); \
t = (k2) + l; \
r ^= BOX (amd_bfe (t, 0, 8), 0, tbl) ^ \
BOX (amd_bfe (t, 8, 8), 1, tbl) ^ \
BOX (amd_bfe (t, 16, 8), 2, tbl) ^ \
BOX (amd_bfe (t, 24, 8), 3, tbl); \
r ^= BOX (((t >> 0) & 0xff), 0, tbl) ^ \
BOX (((t >> 8) & 0xff), 1, tbl) ^ \
BOX (((t >> 16) & 0xff), 2, tbl) ^ \
BOX (((t >> 24) & 0xff), 3, tbl); \
}
#define R(k,h,s,i,t) \

View File

@ -294,15 +294,15 @@ __constant u32 c_tables[4][256] =
{ \
u32 t; \
t = (k1) + r; \
l ^= BOX (amd_bfe (t, 0, 8), 0, tbl) ^ \
BOX (amd_bfe (t, 8, 8), 1, tbl) ^ \
BOX (amd_bfe (t, 16, 8), 2, tbl) ^ \
BOX (amd_bfe (t, 24, 8), 3, tbl); \
l ^= BOX (((t >> 0) & 0xff), 0, tbl) ^ \
BOX (((t >> 8) & 0xff), 1, tbl) ^ \
BOX (((t >> 16) & 0xff), 2, tbl) ^ \
BOX (((t >> 24) & 0xff), 3, tbl); \
t = (k2) + l; \
r ^= BOX (amd_bfe (t, 0, 8), 0, tbl) ^ \
BOX (amd_bfe (t, 8, 8), 1, tbl) ^ \
BOX (amd_bfe (t, 16, 8), 2, tbl) ^ \
BOX (amd_bfe (t, 24, 8), 3, tbl); \
r ^= BOX (((t >> 0) & 0xff), 0, tbl) ^ \
BOX (((t >> 8) & 0xff), 1, tbl) ^ \
BOX (((t >> 16) & 0xff), 2, tbl) ^ \
BOX (((t >> 24) & 0xff), 3, tbl); \
}
#define R(k,h,s,i,t) \

View File

@ -294,15 +294,15 @@ __constant u32 c_tables[4][256] =
{ \
u32 t; \
t = (k1) + r; \
l ^= BOX (amd_bfe (t, 0, 8), 0, tbl) ^ \
BOX (amd_bfe (t, 8, 8), 1, tbl) ^ \
BOX (amd_bfe (t, 16, 8), 2, tbl) ^ \
BOX (amd_bfe (t, 24, 8), 3, tbl); \
l ^= BOX (((t >> 0) & 0xff), 0, tbl) ^ \
BOX (((t >> 8) & 0xff), 1, tbl) ^ \
BOX (((t >> 16) & 0xff), 2, tbl) ^ \
BOX (((t >> 24) & 0xff), 3, tbl); \
t = (k2) + l; \
r ^= BOX (amd_bfe (t, 0, 8), 0, tbl) ^ \
BOX (amd_bfe (t, 8, 8), 1, tbl) ^ \
BOX (amd_bfe (t, 16, 8), 2, tbl) ^ \
BOX (amd_bfe (t, 24, 8), 3, tbl); \
r ^= BOX (((t >> 0) & 0xff), 0, tbl) ^ \
BOX (((t >> 8) & 0xff), 1, tbl) ^ \
BOX (((t >> 16) & 0xff), 2, tbl) ^ \
BOX (((t >> 24) & 0xff), 3, tbl); \
}
#define R(k,h,s,i,t) \