Jens Steube
be75e4b4ea
Rename STR() to M2S() to avoid future collisions and move from kernel source to command line parameter
3 years ago
Gabriele Gristina
9d36245d51
Kernels: Set the default Address Space Qualifier for any pointer, refactored / updated KERN_ATTR macros and rc4 cipher functions, in order to support Apple Metal runtime
3 years ago
Gabriele Gristina
2e4a136758
Refactored standard kernel includes in order to support Apple Metal runtime, updated backend, test units and status code
3 years ago
Jens Steube
0abdcb1ae5
Rename GID_MAX to GID_CNT to avoid naming conflict with existing macro
3 years ago
Jens Steube
668d2179cd
Kernels: Refactored standard kernel declaration to use a structure holding u32/u64 attributes to reduce the number of attributes
3 years ago
Jens Steube
2a55fd7f33
RC4: Update -m 97x0 and -m 104x0 to new RC4 crypto library code, improving performance by 20% or more
3 years ago
Jens Steube
3192f55707
PDF: Update -m 10410 to new RC4 crypto library code, improving performance by 22% - 32%.
3 years ago
Jens Steube
04d5e5a119
New Attack-Mode: Association Attack. Like JtR's single mode. Very early
...
stage. See hashcat Forum for detailed writeup.
4 years ago
Jens Steube
7e5356126c
Fix more use of LOCAL_VK and LOCAL_AS
5 years ago
Jens Steube
8ff8c5d536
Add LOCAL_VK to make use of __shared__
5 years ago
Jens Steube
d0bd33c9d1
Rename CONSTANT_AS to CONSTANT_VK
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
jsteube
9ced13cc94
Get rid of CONSTSPEC macro in 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
jsteube
26d7602bbd
No longer need reqd_work_group_size() in OpenCL kernels since modules taken care of this using threads_min and threads_max
6 years ago
Jens Steube
30681e5151
Move remaining module specific typedefs and structures from inc_types.cl to kernels
6 years ago
Jens Steube
2a6444c05a
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
b80ada1d65
Unify esalt_bufs parameter declarations
...
In preparation for the abstraction of long repetitive kernel function
declarations, rename the salt buffer pointers to *esalt_bufs. Also
declare them const where they are not.
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
e79feb0b6f
Add more reqd_work_group_size attributes to kernels
7 years ago
jsteube
e4e1c1d515
We can't mix inline functions with static constants
7 years ago
jsteube
3e08750900
OpenCL Kernels: Add general function declaration keyword (static inline)
7 years ago
jsteube
53f3da9f63
OpenCL Kernels: Use static declaraction for uXXa variables used in __constant space
7 years ago
jsteube
3a303ffce4
Replace variables from uXX to uXXa if used in __constant space
7 years ago
jsteube
1d04de3a8e
Limit kernel-loops in straight-mode to 256, therefore allow rules to be stored in constant memory
7 years ago
jsteube
319799bbbf
Switch the datatypes of the variables responsible for work-item count and work-item size from u32 to u64
7 years ago
jsteube
34d882a116
Rename inc_rp.X to inc_rp_optimized.X
7 years ago
jsteube
bc9f721dcd
Mix in pure kernel functions to PDF 1.1 - 1.3 (Acrobat 2 - 4)
7 years ago
jsteube
beb6ee2061
Add OPTI_TYPE_OPTIMIZED_KERNEL
...
Rename unconverted fast hash kernels to optimized kernels
Finalize some converted fast hashes to default kernels
7 years ago