Fix path to includes
[hashcat.git] / OpenCL / m09700_a1.cl
index 4ef61a2..be1b7d2 100644 (file)
 #define DGST_R3 3
 
 #include "include/kernel_functions.c"
-#include "types_ocl.c"
-#include "common.c"
+#include "OpenCL/types_ocl.c"
+#include "OpenCL/common.c"
 
-#define COMPARE_S "check_single_comp4.c"
-#define COMPARE_M "check_multi_comp4.c"
+#define COMPARE_S "OpenCL/check_single_comp4.c"
+#define COMPARE_M "OpenCL/check_multi_comp4.c"
 
 typedef struct
 {
@@ -52,7 +52,6 @@ static void rc4_init_16 (__local RC4_KEY *rc4_key, const u32 data[4])
 
   u32 j = 0;
 
-  #pragma unroll
   for (u32 i = 0; i < 16; i++)
   {
     u32 idx = i * 16;
@@ -744,7 +743,7 @@ __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m09700_m04 (__glo
     w3[2] = 0;
     w3[3] = 0;
 
-    append_0x80_2 (w0, w1, pw_len);
+    append_0x80_2x4 (w0, w1, pw_len);
 
     u32 w0_t[4];
     u32 w1_t[4];
@@ -1025,7 +1024,7 @@ __kernel void __attribute__((reqd_work_group_size (64, 1, 1))) m09700_s04 (__glo
     w3[2] = 0;
     w3[3] = 0;
 
-    append_0x80_2 (w0, w1, pw_len);
+    append_0x80_2x4 (w0, w1, pw_len);
 
     u32 w0_t[4];
     u32 w1_t[4];