mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 23:19:09 +00:00
osx: -m 3200 = bcrypt needs a volatile variable
This commit is contained in:
parent
54ad27da7d
commit
fbb1f92d2b
@ -332,6 +332,14 @@ __constant u32a c_sbox3[256] =
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// temporary hack for Apple Iris GPUs (with as little performance drop as possible)
|
||||||
|
|
||||||
|
#ifdef IS_APPLE
|
||||||
|
#define TMP_TYPE volatile u32
|
||||||
|
#else
|
||||||
|
#define TMP_TYPE u32
|
||||||
|
#endif
|
||||||
|
|
||||||
#define BF_ENCRYPT(L,R) \
|
#define BF_ENCRYPT(L,R) \
|
||||||
{ \
|
{ \
|
||||||
L ^= P[0]; \
|
L ^= P[0]; \
|
||||||
@ -353,7 +361,7 @@ __constant u32a c_sbox3[256] =
|
|||||||
BF_ROUND (L, R, 15); \
|
BF_ROUND (L, R, 15); \
|
||||||
BF_ROUND (R, L, 16); \
|
BF_ROUND (R, L, 16); \
|
||||||
\
|
\
|
||||||
u32 tmp; \
|
TMP_TYPE tmp; \
|
||||||
\
|
\
|
||||||
tmp = R; \
|
tmp = R; \
|
||||||
R = L; \
|
R = L; \
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
- Workaround added for NVidia OpenCL runtime: RACF kernel requires EBCDIC lookup to be done on shared memory
|
- Workaround added for NVidia OpenCL runtime: RACF kernel requires EBCDIC lookup to be done on shared memory
|
||||||
|
- Workaround added for Apple OpenCL runtime: bcrypt kernel requires a volatile variable because of a compiler optimization bug
|
||||||
- Workaround added for AMDGPU-Pro OpenCL runtime: AES encrypt and decrypt Invertkey function was calculated wrong in certain cases
|
- Workaround added for AMDGPU-Pro OpenCL runtime: AES encrypt and decrypt Invertkey function was calculated wrong in certain cases
|
||||||
- Workaround added for AMDGPU-Pro OpenCL runtime: RAR3 kernel require a volatile variable to work correctly
|
- Workaround added for AMDGPU-Pro OpenCL runtime: RAR3 kernel require a volatile variable to work correctly
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user