1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-25 15:10:58 +00:00

Weird macOS JiT likes this more

This commit is contained in:
jsteube 2018-02-05 19:39:20 +01:00
parent a3a16f676f
commit 5391edca0d

View File

@ -138,24 +138,28 @@
#define SHA1_STEP_S(f,a,b,c,d,e,x) \
{ \
e += K; \
e = __add3_S (e, x, f (b, c, d)); \
e = __add3_S (e, K, rotl32_S (a, 5u)); \
e += rotl32_S (a, 5u); \
b = rotl32_S (b, 30u); \
}
#define SHA1_STEP(f,a,b,c,d,e,x) \
{ \
e += K; \
e = __add3 (e, x, f (b, c, d)); \
e = __add3 (e, K, rotl32 (a, 5u)); \
e += rotl32 (a, 5u); \
b = rotl32 (b, 30u); \
}
/*
#define SHA1_STEP0(f,a,b,c,d,e,x) \
{ \
e = __add3 (e, K, f (b, c, d)); \
e += rotl32 (a, 5u); \
b = rotl32 (b, 30u); \
}
*/
#define SHA1_STEPX(f,a,b,c,d,e,x) \
{ \