jsteube
7c6970dbdd
Remove hard-coded static keyword from OpenCL kernels
6 years ago
jsteube
ed8af919a1
Use local memory for DES constants in -m 15300 and for AES in -m 137xx
6 years ago
Jens Steube
0fb3b3c83e
Declare internal functions in OpenCL kernels as static
6 years ago
jsteube
e80b1838e8
Rename some functions in inc_common.cl to avoid conflicts with bitops.c
6 years ago
jsteube
adeeaee84a
Replace __kernel, __constant, __global and __local qualifiers with macro for better control
6 years ago
jsteube
c9d60c079f
Prepare OpenCL kernels for non-static compilation
6 years ago
jsteube
7d4bea41a0
Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
6 years ago
jsteube
218322f630
Support for inline VeraCrypt PIM Brute-Force
6 years ago
jsteube
84d6b8ecc1
Add function prototypes in OpenCL kernels to make some compilers happy
6 years ago
jsteube
aeb570ca8b
Add inc_cipher_des.cl and make use of SHM_TYPE
6 years ago
Jens Steube
74abff44d9
Move remaining module specific typedefs and structures from inc_types.cl to kernels
6 years ago
jsteube
dc9279c95c
New Strategy: Instead of using volatile, mark the mode as unstable. Remove all volatiles
6 years ago
jsteube
5da1e4b872
Fixed maximum password length limit which was announced as 256 but actually was 255
6 years ago
Jens Steube
0e428b3c40
Give the compiler a hint for automatic optimizations based on password length
6 years ago
R. Yushaev
5de004103a
Replace kernel parameter lists with macros
...
Substitute long parameter lists in ~2900 kernel function declarations
with macros. This cleans up the code, reduces probability of copy-paste
errors and highlights the differences between kernel functions. Also
reduces the size of the OpenCL folder by ~3 MB.
6 years ago
R. Yushaev
3f0a3ef3f7
Unify kernel function parameter names
...
In preparation for the abstraction of long repetitive kernel function
declarations, adjust parameter names in a few deviating kernels.
6 years ago
jsteube
68bff94980
Workaround rocm OpenCL runtime bug when copy data from constant to local memory
6 years ago
Jens Steube
02a2495349
Switched array pointer types in function declarations in order to be compatible with OpenCL 2.0
6 years ago
jsteube
32d6b3e10e
OpenCL kernels: Add '-pure' prefix to kernel filenames to avoid problems caused by reusing existing hashcat installation folder
6 years ago