mirror of
https://github.com/hashcat/hashcat
synced 2024-11-24 14:27:14 +01: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
|
||||
|
||||
// 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) \
|
||||
{ \
|
||||
L ^= P[0]; \
|
||||
@ -353,7 +361,7 @@ __constant u32a c_sbox3[256] =
|
||||
BF_ROUND (L, R, 15); \
|
||||
BF_ROUND (R, L, 16); \
|
||||
\
|
||||
u32 tmp; \
|
||||
TMP_TYPE tmp; \
|
||||
\
|
||||
tmp = R; \
|
||||
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 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: RAR3 kernel require a volatile variable to work correctly
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user