1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-29 11:28:15 +00:00

Rename switch_buffer_by_offset_64x1_le_S() to switch_buffer_by_offset_1x64_le_S()

This commit is contained in:
jsteube 2017-07-02 15:29:04 +02:00
parent d861c0db8d
commit 6feb0a1630

View File

@ -7,7 +7,7 @@
#include "inc_vendor.cl" #include "inc_vendor.cl"
#include "inc_types.cl" #include "inc_types.cl"
inline void switch_buffer_by_offset_64x1_le_S (u32 w[64], const u32 offset) inline void switch_buffer_by_offset_1x64_le_S (u32 w[64], const u32 offset)
{ {
#if defined IS_AMD || defined IS_GENERIC #if defined IS_AMD || defined IS_GENERIC
const int offset_mod_4 = offset & 3; const int offset_mod_4 = offset & 3;
@ -11084,12 +11084,12 @@ __kernel void amp (__global pw_t *pws, __global pw_t *pws_amp, __global const ke
if (combs_mode == COMBINATOR_MODE_BASE_LEFT) if (combs_mode == COMBINATOR_MODE_BASE_LEFT)
{ {
switch_buffer_by_offset_64x1_le_S (comb.i, pw_len); switch_buffer_by_offset_1x64_le_S (comb.i, pw_len);
} }
if (combs_mode == COMBINATOR_MODE_BASE_RIGHT) if (combs_mode == COMBINATOR_MODE_BASE_RIGHT)
{ {
switch_buffer_by_offset_64x1_le_S (pw.i, comb_len); switch_buffer_by_offset_1x64_le_S (pw.i, comb_len);
} }
#pragma unroll #pragma unroll