X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=OpenCL%2Fm12200.cl;h=b9c5b1921ca333a850484639e70292c8d65e071f;hb=ed1863c2630bc8194d38587d753dde71a315402a;hp=cbb96eb03a2206630e2ce267aaacc318b8073f7c;hpb=74dd96fa5b48b7ed990d63ae6505f3f8459d156f;p=hashcat.git diff --git a/OpenCL/m12200.cl b/OpenCL/m12200.cl index cbb96eb..b9c5b19 100644 --- a/OpenCL/m12200.cl +++ b/OpenCL/m12200.cl @@ -5,20 +5,14 @@ #define _SHA512_ -#include "include/constants.h" -#include "include/kernel_vendor.h" +#include "inc_vendor.cl" +#include "inc_hash_constants.h" +#include "inc_hash_functions.cl" +#include "inc_types.cl" +#include "inc_common.cl" -#define DGST_R0 0 -#define DGST_R1 1 -#define DGST_R2 2 -#define DGST_R3 3 - -#include "include/kernel_functions.c" -#include "OpenCL/types_ocl.c" -#include "OpenCL/common.c" - -#define COMPARE_S "OpenCL/check_single_comp4.c" -#define COMPARE_M "OpenCL/check_multi_comp4.c" +#define COMPARE_S "inc_comp_single.cl" +#define COMPARE_M "inc_comp_multi.cl" __constant u64 k_sha512[80] = { @@ -114,7 +108,9 @@ void sha512_transform (const u64 w[16], u64 dgst[8]) ROUND_STEP (0); - //#pragma unroll + #ifdef _unroll + #pragma unroll + #endif for (int i = 16; i < 80; i += 16) { ROUND_EXPAND (); ROUND_STEP (i);