Jens Steube
9ce625464e
Fixed uninitialized value in bitsliced DES kernel (BF mode only) leading to false negatives
4 years ago
philsmd
e59f61e8cf
cosmetic: minor code style fixes
4 years ago
Jens Steube
fd06e407cf
Remove #undef _unroll because _unroll is no longer the default
5 years ago
Jens Steube
f96e35649d
Change bitsliced kernels from 3d to 2d invocation mode for slightly better performance
5 years ago
Jens Steube
53be3e74a3
Rename some variable to avoid collisions
5 years ago
Jens Steube
bbed0cd67a
Fix test.sh and bitsliced algos
5 years ago
Jens Steube
89119bf24a
Add missing inc_platform.h include
6 years ago
jsteube
7c6970dbdd
Remove hard-coded static keyword from OpenCL kernels
6 years ago
Jens Steube
0fb3b3c83e
Declare internal functions in OpenCL kernels as static
6 years ago
jsteube
66d94b06e4
Get rid of src/rp_kernel_on_cpu.c and src/rp_kernel_on_cpu_optimized.c and use OpenCL emulated kernel version
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
Jens Steube
e117e750fc
Add restrict keyword to kernel declarations to help the compiler with caching optimizations
6 years ago
Jens Steube
6d39fb1feb
Make all kernel parameter macro helper a function
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
Jens Steube
02a2495349
Switched array pointer types in function declarations in order to be compatible with OpenCL 2.0
6 years ago
Jens Steube
0ab7ab9cec
OpenCL kernels: Removed the use of 'volatile' in inline assembly instructions where it is not needed
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