Commit Graph

149 Commits (b2340a26cf08a9f7ba7cd14b26a3503c4b978871)

Author SHA1 Message Date
Jens Steube d0bd33c9d1 Rename CONSTANT_AS to CONSTANT_VK
5 years ago
Jens Steube d9cb5cf8df Fix recursion in inc_common.cl
5 years ago
Jens Steube 89119bf24a Add missing inc_platform.h include
5 years ago
Jens Steube 9faba41848 Use nvrtc to compile PTX (resulting PTX not yet used)
5 years ago
Jens Steube 4b986de5fb Prepare native CUDA hybrid integration
5 years ago
jsteube 70fc36bf01 Reorganize inc_common.cl and make better use of HAS_* macros
5 years ago
jsteube a3b6e6f1b0 Fix hc_rotl64_S() for AMD devices
5 years ago
jsteube 3274220d7f Fix l32_from_64_S(), h32_from_64_S(), hl32_to_64_S() and h32_from_64() in inc_common.cl
5 years ago
jsteube 319bf80178 Fix hash_encode() salt position
5 years ago
jsteube 1c45de4b63 Remove more old GCC diagnostic options
5 years ago
jsteube d80603648e Replace plain_t with void in module_build_plain_postprocess() enables some options
5 years ago
jsteube 9574862a19 Inline hc_byte_perm in hc_bytealign
5 years ago
jsteube 5a1d929628 Fix some missing code changes after hc_bytealign() was changed
5 years ago
jsteube fb8a9d7c40 Get rid of cpu_sha1.c
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 13097fefc7 reorder functions for better overview
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 7d4bea41a0 Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
5 years ago
jsteube 218322f630 Support for inline VeraCrypt PIM Brute-Force
5 years ago
jsteube 84d6b8ecc1 Add function prototypes in OpenCL kernels to make some compilers happy
5 years ago
jsteube e1fe3e755b Optimize some switch_buffer_* functions for generic OpenCL devices (CPU, various OSX, ...)
5 years ago
jsteube 540b405e3a Replace IS_ROCM with HAS_VPERM and HAS_VADD3
5 years ago
jsteube c88a837196 Rename d_scryptVX_buf to d_extraX_buf
5 years ago
Matt Covalt 36bdcf844a Add function to check if vector represents a Base58 string
6 years ago
Jens Steube 65abccc93e Migrate inc_truecrypt_keyboard.cl into inc_common.cl
6 years ago
Jens Steube e117e750fc Add restrict keyword to kernel declarations to help the compiler with caching optimizations
6 years ago
R. Yushaev fbbe5f6282 Use macros in remaining kernel functions
6 years ago
Jens Steube 6d39fb1feb Make all kernel parameter macro helper a function
6 years ago
R. Yushaev 31dc7a3453 Add macros for kernel function declarations
6 years ago
R. Yushaev 224315dd62 Add pure kernels and tests for Streebog hashes
6 years ago
Jens Steube 6d03da369b Fix gid datatype in mark_hash()
6 years ago
R. Yushaev 5c87720acc Add SHA3 and Keccak
6 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 b626e7f61b Optimize update functions in inc_hash_* helper files by testing for pos == 0
6 years ago
Jens Steube ec63c2f017 switch_buffer_* function can return sooner if offset is zero
6 years ago
jsteube fe4413797e OpenCL Kernels: Use three separate comparison kernels (depending on keyver) for WPA instead of one
6 years ago
jsteube aa65ed28e5 Switch back c_append_helper to static
6 years ago
Jens Steube d656e9c3a4 OpenCL Kernels: Use the kernel local buffer size as additional reference in order to limit the thread-count
6 years ago
jsteube 5951207365 Get rid of some old volatiles
6 years ago
jsteube e4e1c1d515 We can't mix inline functions with static constants
6 years ago
jsteube 3e08750900 OpenCL Kernels: Add general function declaration keyword (static inline)
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 553668bb9f Added hash-mode 16600 = Electrum Wallet (Salt-Type 1-3)
6 years ago
Jens Steube 7062425d2b OpenCL Kernels: Use a special kernel to initialize the password buffer used during autotune measurements to reduce startup time
6 years ago
jsteube 53f3da9f63 OpenCL Kernels: Use static declaraction for uXXa variables used in __constant space
6 years ago
jsteube 3a303ffce4 Replace variables from uXX to uXXa if used in __constant space
6 years ago
jsteube 503f676cb0 Remove static keywords from OpenCL functions, they can cause old NV JiT compiler to fail
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 52a97fee75 Improve rule engine performance by improving append_0x80_xxx() performance by using precomputed values from constant memory
7 years ago
jsteube 48fbe81a09 Add more inline assembly for AMD ROCm
7 years ago
jsteube bed7e8f466 Remove unused truncate_block_xxx_xx() functions and update kernels to use the _S function
7 years ago
jsteube 51dc1c7db3 Use truncate_block_4x4_le_S() instead of truncate_block_4x4_le() in -m 6800
7 years ago
jsteube 51372438fe Allow OpenCL kernel inline assembly if ROCm drivers was detected
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 e984a829ea Remove no longer needed overwrite_at_* functions
7 years ago
jsteube 967e96728d Make all the OpenCL kernel function includes static
7 years ago
jsteube e6cb69e4cb Add pure kernels for JKS Java Key Store Private Keys (SHA1)
7 years ago
jsteube c5c12f89c1 Rewrite code around amd_bytealign to be of type BE to save a branch afterwards
7 years ago
jsteube a53d9e09de Fix some issue with offset_minus_4
7 years ago
jsteube 5e34ec348e Optimize kernels for ROCm 1.6
7 years ago
jsteube 696afc2a1b Fix selector in switch_buffer_by_offset_1x64_be_S()
7 years ago
jsteube 4e0972ce3a Add xxx_update_vector_swap(), xxx_update_vector_utf16le_swap() and xxx_update_vector_utf16beN() for later use
7 years ago
jsteube f03156b05e Add switch_buffer_by_offset_1x64_be_S() and code generators for later use
7 years ago
jsteube 994e7efc91 Add example -L kernel for algorithms using HMAC where the password is the key
7 years ago
jsteube 91f7acbde3 Remove more unused functions after refactor of -m 6x00 kernels
7 years ago
jsteube 35e1ee6612 Functions append_0x02() no longer required after rewrite of -m 8800
7 years ago
jsteube d806aab2c3 Remove some unused functions
7 years ago
jsteube b03382b334 Get rid of old truncate_block()
7 years ago
jsteube a22da36a00 Add different code generators for truncate_block(), add results to inc_common.cl and make use of them in m01800-pure.cl
7 years ago
jsteube b9b2112b64 Add pure kernel for -m 1800
7 years ago
jsteube 8e1759650b Add -L support for -m 1700 in combination with -a 3
7 years ago
jsteube 58a66cf31d Fix function declaration of switch_buffer_by_offset_8x4_carry_be_S()
7 years ago
jsteube a009f239d5 Backport generated scalar code to vector code
7 years ago
jsteube fbfe81a0a1 Replace code in switch_buffer_by_offset_carry_be_S() with code generated with code generators
7 years ago
jsteube b07b73f525 Add switch_buffer_by_offset_8x4_be_S() to inc_common.cl
7 years ago
jsteube cd5223eb2f Replace code in switch_buffer_by_offset_be_S() with code generated with code generators
7 years ago
jsteube 48ce6cb71d Add append_0x80_8x4_S() and replace code in switch_buffer_by_offset_le_S() with generated code from code generators
7 years ago
jsteube b8ad89c529 Rename function and variables containing 'unicode' to 'utf16le' because that's what's meant actually
7 years ago
Jens Steube ae5fdba20f Add make_unicode and undo_unicode BE version
7 years ago
Jens Steube 4a3c90dd3c Fixes https://github.com/hashcat/hashcat/issues/1123
7 years ago
philsmd c18c2950c9
mv switch_buffer_by_offset_8x4_le_S and switch_buffer_by_offset_8x4_le_VV () into inc_common.cl
7 years ago
jsteube c1d88f3234 Fix updated switch_buffer_* functions to run on AMD
7 years ago
jsteube e0c3f447da Added hash-mode 4520 = sha1($salt.sha1($pass))
7 years ago
jsteube 8257883ec1 Added hash-mode 14600 = LUKS
7 years ago
Jens Steube 7fe575e204 Add const qualifier to variable declaration of matching global memory objects
8 years ago
Jens Steube 6fdb2bfca4 Fix some header in inc_common.cl
8 years ago
jsteube 7f234bad24 Optimize 0x01, 0x02 and 0x80 handling in inc_common.c even more
8 years ago
jsteube 492f9f2290 For some easy actions, maxwell GPU prefer not to use switch()
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
Jens Steube a267c61fbb switch from clz() to ffz() for bitsliced algorithms
8 years ago
jsteube 2dd8156d24 Introduce a true memset kernel, currently operates on 16 byte per item
8 years ago
Jens Steube 2899f53a15 Move files from include/ to OpenCL/ if they are used within kernels
8 years ago