Commit Graph

32 Commits (124e1fd40ac766b7f095e93834dc3d8295984369)

Author SHA1 Message Date
Jens Steube be75e4b4ea Rename STR() to M2S() to avoid future collisions and move from kernel source to command line parameter
2 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
2 years ago
Gabriele Gristina 2e4a136758 Refactored standard kernel includes in order to support Apple Metal runtime, updated backend, test units and status code
2 years ago
Jens Steube b6feddd81f Unroll some of the code in the candidate generators
4 years ago
Jens Steube 89119bf24a Add missing inc_platform.h include
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 adeeaee84a Replace __kernel, __constant, __global and __local qualifiers with macro for better control
5 years ago
jsteube c9d60c079f Prepare OpenCL kernels for non-static compilation
5 years ago
jsteube 7d4bea41a0 Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
5 years ago
Jens Steube e117e750fc Add restrict keyword to kernel declarations to help the compiler with caching optimizations
6 years ago
jsteube a3a16f676f OpenCL Kernels: Add a decompressing kernel and a compressing host code in order to reduce PCIe transfer time
6 years ago
jsteube 1aa76eac15 Refactor use of __constant to match up with the user selected attack mode
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 994e7efc91 Add example -L kernel for algorithms using HMAC where the password is the key
7 years ago
jsteube 6feb0a1630 Rename switch_buffer_by_offset_64x1_le_S() to switch_buffer_by_offset_1x64_le_S()
7 years ago
jsteube 521ece537c Replace code in switch_buffer_by_offset_64x1_le_S() in amp_a1.cl with generated code from code generators
7 years ago
jsteube 62d695d572 Rename switch_buffer_by_offset_le_S() to switch_buffer_by_offset_64x1_le_S() in amp_a1.cl
7 years ago
jsteube c918173fcf Get rid of comb_t which can be safely replace with pw_t now
7 years ago
jsteube 045ac7d8e7 Modify amp_a1 to work with password length 256
7 years ago
Jens Steube 45b14ebf1c While not required now, it's better to use scalar functions in amplifier kernel in case it get's changed in the future
7 years ago
Jens Steube 7fe575e204 Add const qualifier to variable declaration of matching global memory objects
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
Jens Steube 2899f53a15 Move files from include/ to OpenCL/ if they are used within kernels
8 years ago
Jens Steube 0b3743ce94 - Added inline declaration to functions from simd.c, common.c, rp.c and types_ocl.c to increase performance
8 years ago
Jens Steube 1d3795a3ab Converted _a3 kernels, use SIMD for CPU and GPU
8 years ago
Jens Steube a62b7ed06e Upgrade kernel to support dynamic local work sizes
8 years ago
jsteube e8229af09b Fix for -m 1500, -m 3000: Missing "defined" keyword
8 years ago
jsteube bacc1049e3 More fixes for IS_UNKNOWN in kernels
8 years ago
jsteube 331188167c Replace the substring GPU to a more appropriate "device" or "kernel" substring depending on the context
8 years ago
jsteube 5f7c47b461 Fix path to includes
9 years ago
jsteube 0bf4e3c34a - Dropped all vector code since new GPU's are all scalar, makes the code much easier
9 years ago