mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Switch back -m 7400 to old version
This commit is contained in:
parent
4317ac60f4
commit
c19779dedf
@ -40,7 +40,7 @@ __constant u32 k_sha256[64] =
|
|||||||
SHA256C3c, SHA256C3d, SHA256C3e, SHA256C3f,
|
SHA256C3c, SHA256C3d, SHA256C3e, SHA256C3f,
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef IS_AMD
|
#if 1
|
||||||
|
|
||||||
void sha256_transform (const u32 w[16], u32 digest[8])
|
void sha256_transform (const u32 w[16], u32 digest[8])
|
||||||
{
|
{
|
||||||
@ -1224,6 +1224,8 @@ __kernel void m07400_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
// this is basically a much cleaner version, but apparently drops speeds by over 100% :(
|
||||||
|
|
||||||
#define PUTCHAR32_BE(a,p,c) ((u8 *)(a))[(p) ^ 3] = (u8) (c)
|
#define PUTCHAR32_BE(a,p,c) ((u8 *)(a))[(p) ^ 3] = (u8) (c)
|
||||||
#define GETCHAR32_BE(a,p) ((u8 *)(a))[(p) ^ 3]
|
#define GETCHAR32_BE(a,p) ((u8 *)(a))[(p) ^ 3]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user