Commit Graph

42 Commits (124e1fd40ac766b7f095e93834dc3d8295984369)

Author SHA1 Message Date
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
2 years ago
Gabriele Gristina 861e644057 OpenCL Backend: added workaround to make optimized kernels work on Apple Silicon
2 years ago
Jens Steube f4e52ca533 Add new rule function '3' to switch the case of the first letter after occurrence N of char X
3 years ago
Jens Steube cf512faa53 Update large switch() cases in inc_common.cl and some inline assembly common functions for devices managed with HIP backend
3 years ago
Jens Steube 4658e470a2 OpenCL Kernels: Added datatypes to literals of some 64 bit kernel constants
4 years ago
Jens Steube d9a92afecc Change out-of-boundary fix in order to re-enable password length 256 with rules in pure kernel mode
5 years ago
Jens Steube 270210a8ab Fix out-of-boundary read in rule engines
5 years ago
Jens Steube 3ca3d1cc60 Fix kernel_rules variable name
5 years ago
Jens Steube 89119bf24a Add missing inc_platform.h include
5 years ago
jsteube ace765bf96 Fix 'E' rule in optimized mode if password is longer than 16 characters
5 years ago
jsteube 5a1d929628 Fix some missing code changes after hc_bytealign() was changed
5 years ago
jsteube ea7d9c50b6 Fix missing const keyword in some includes
5 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
5 years ago
jsteube e80b1838e8 Rename some functions in inc_common.cl to avoid conflicts with bitops.c
5 years ago
jsteube adeeaee84a Replace __kernel, __constant, __global and __local qualifiers with macro for better control
5 years ago
jsteube 5f5468be6f Add missing DECLSPEC in OpenCL rule functions
5 years ago
jsteube 305a044ec6 Remove some old function headers
5 years ago
jsteube 84d6b8ecc1 Add function prototypes in OpenCL kernels to make some compilers happy
5 years ago
jsteube 540b405e3a Replace IS_ROCM with HAS_VPERM and HAS_VADD3
5 years ago
jsteube fbf434146d Add set_mark_1x4() and set_mark_1x4_S()
6 years ago
Jens Steube 14c444fd47 Replace c_append_helper_mini[] table with on-the-fly calculation in order to workaround compiler bugs in AMD OpenCL runtime
6 years ago
Jens Steube a43d3ad176 Rename some hashcat specific OpenCL functions to avoid conflicts with existing OpenCL functions from OpenCL runtime
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 81b229c08a Make new c_append_helper a bit more AMD friendly
6 years ago
jsteube 3a23b275e5 Improved c_append_helper[] handling
6 years ago
jsteube 5951207365 Get rid of some old volatiles
6 years ago
jsteube 512fb5f6fb No inline keyword for rules
6 years ago
jsteube 3e08750900 OpenCL Kernels: Add general function declaration keyword (static inline)
6 years ago
jsteube 503f676cb0 Remove static keywords from OpenCL functions, they can cause old NV JiT compiler to fail
7 years ago
jsteube b169653b8f Fix missing return value in rule_op_mangle_toggle_at()
7 years ago
jsteube 9125062ffc Move volatiles for AMD closer to the problem
7 years ago
jsteube ac9f1da747 Add fine-tuned AMD GCN control macros
7 years ago
jsteube 7bfd343ec9 Optimized rule_op_mangle_dupechar_last(), rule_op_mangle_rotate_right(), rule_op_mangle_rotate_left() and append_block1() in rule engine
7 years ago
jsteube 9b73c464d2 Fix typo in macro
7 years ago
jsteube 7b443ee7ff Optimize performance of rule_op_mangle_title_sep(), rule_op_mangle_purgechar() and rule_op_mangle_replace()
7 years ago
jsteube 0de41c2716 Some more optimizations for rule engine
7 years ago
jsteube 9f8c5a253d More rule engine performance optimizations
7 years ago
jsteube a5659d5619 Also switch optimized kernels rule engine to make use of kernel rules in constant memory
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 6907981f08 Backport current state of optimized kernel rule engine to CPU
7 years ago
jsteube 967e96728d Make all the OpenCL kernel function includes static
7 years ago
jsteube 34d882a116 Rename inc_rp.X to inc_rp_optimized.X
7 years ago