mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-04 05:42:35 +00:00
Fix -m 9000 speed (AMD ONLY)
This commit is contained in:
parent
0e5b37a537
commit
18d5f4126a
@ -303,7 +303,7 @@ __constant u32 c_pbox[18] =
|
|||||||
0x9216d5d9, 0x8979fb1b
|
0x9216d5d9, 0x8979fb1b
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
#ifdef IS_AMD
|
||||||
#define BF_ROUND(L,R,N) \
|
#define BF_ROUND(L,R,N) \
|
||||||
{ \
|
{ \
|
||||||
uchar4 c = as_uchar4 ((L)); \
|
uchar4 c = as_uchar4 ((L)); \
|
||||||
@ -317,9 +317,9 @@ __constant u32 c_pbox[18] =
|
|||||||
\
|
\
|
||||||
(R) ^= tmp ^ P[(N)]; \
|
(R) ^= tmp ^ P[(N)]; \
|
||||||
}
|
}
|
||||||
*/
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef IS_NV
|
||||||
#define BF_ROUND(L,R,N) \
|
#define BF_ROUND(L,R,N) \
|
||||||
{ \
|
{ \
|
||||||
u32 tmp; \
|
u32 tmp; \
|
||||||
@ -331,6 +331,7 @@ __constant u32 c_pbox[18] =
|
|||||||
\
|
\
|
||||||
(R) ^= tmp ^ P[(N)]; \
|
(R) ^= tmp ^ P[(N)]; \
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#define BF_ENCRYPT(L,R) \
|
#define BF_ENCRYPT(L,R) \
|
||||||
{ \
|
{ \
|
||||||
|
Loading…
Reference in New Issue
Block a user