1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-11 00:01:16 +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

@ -136,26 +136,30 @@
#define SHA1_F2o(x,y,z) (SHA1_F2 ((x), (y), (z)))
#endif
#define SHA1_STEP_S(f,a,b,c,d,e,x) \
{ \
e = __add3_S (e, x, f (b, c, d)); \
e = __add3_S (e, K, rotl32_S (a, 5u)); \
b = rotl32_S (b, 30u); \
}
#define SHA1_STEP(f,a,b,c,d,e,x) \
#define SHA1_STEP_S(f,a,b,c,d,e,x) \
{ \
e = __add3 (e, x, f (b, c, d)); \
e = __add3 (e, K, rotl32 (a, 5u)); \
b = rotl32 (b, 30u); \
e += K; \
e = __add3_S (e, x, f (b, c, d)); \
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 += 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) \
{ \