1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

Fix -m 9000 speed (AMD ONLY)

This commit is contained in:
jsteube 2015-12-21 17:06:17 +01:00
parent 0e5b37a537
commit 18d5f4126a

View File

@ -303,7 +303,7 @@ __constant u32 c_pbox[18] =
0x9216d5d9, 0x8979fb1b
};
/*
#ifdef IS_AMD
#define BF_ROUND(L,R,N) \
{ \
uchar4 c = as_uchar4 ((L)); \
@ -317,9 +317,9 @@ __constant u32 c_pbox[18] =
\
(R) ^= tmp ^ P[(N)]; \
}
*/
#endif
#ifdef IS_NV
#define BF_ROUND(L,R,N) \
{ \
u32 tmp; \
@ -331,6 +331,7 @@ __constant u32 c_pbox[18] =
\
(R) ^= tmp ^ P[(N)]; \
}
#endif
#define BF_ENCRYPT(L,R) \
{ \