Move files from include/ to OpenCL/ if they are used within kernels
[hashcat.git] / OpenCL / m06213.cl
index 28cd4a6..61a85c1 100644 (file)
@@ -5,21 +5,21 @@
 
 #define _RIPEMD160_
 
-#include "include/constants.h"
-#include "include/kernel_vendor.h"
+#include "inc_hash_constants.h"
+#include "inc_vendor.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"
+#include "inc_hash_functions.cl"
+#include "inc_types.cl"
+#include "inc_common.cl"
 
-#include "OpenCL/kernel_aes256.c"
-#include "OpenCL/kernel_twofish256.c"
-#include "OpenCL/kernel_serpent256.c"
+#include "inc_cipher_aes256.cl"
+#include "inc_cipher_twofish256.cl"
+#include "inc_cipher_serpent256.cl"
 
 void ripemd160_transform (const u32 w[16], u32 dgst[5])
 {
@@ -671,8 +671,6 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
     if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
     {
       mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
-
-      d_return_buf[lid] = 1;
     }
   }
 
@@ -687,8 +685,6 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
     if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
     {
       mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
-
-      d_return_buf[lid] = 1;
     }
   }
 
@@ -703,8 +699,6 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
     if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
     {
       mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
-
-      d_return_buf[lid] = 1;
     }
   }
 
@@ -742,8 +736,6 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
     if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
     {
       mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
-
-      d_return_buf[lid] = 1;
     }
   }
 
@@ -759,8 +751,6 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
     if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
     {
       mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
-
-      d_return_buf[lid] = 1;
     }
   }
 
@@ -776,8 +766,6 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
     if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
     {
       mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
-
-      d_return_buf[lid] = 1;
     }
   }
 
@@ -816,8 +804,6 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
     if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
     {
       mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
-
-      d_return_buf[lid] = 1;
     }
   }
 
@@ -834,8 +820,6 @@ __kernel void m06213_comp (__global pw_t *pws, __global kernel_rule_t *rules_buf
     if (((tmp[0] == signature) && (tmp[3] == 0)) || ((tmp[0] == signature) && ((tmp[1] >> 16) <= 5)))
     {
       mark_hash (plains_buf, d_return_buf, salt_pos, 0, 0, gid, 0);
-
-      d_return_buf[lid] = 1;
     }
   }
 }