Added new hash-mode 13800 = Windows 8+ phone PIN/Password
[hashcat.git] / OpenCL / m12800.cl
index 2a9bbfd..d138fc7 100644 (file)
@@ -5,21 +5,21 @@
 
 #define _MS_DRSR_
 
-#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 "inc_hash_functions.cl"
 
-#include "OpenCL/types_ocl.c"
-#include "OpenCL/common.c"
+#include "inc_types.cl"
+#include "inc_common.cl"
 
-#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"
 
 #define uint_to_hex_lower8(i) l_bin2asc[(i)]
 
@@ -177,7 +177,9 @@ void sha256_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], const
 
   ROUND_STEP (0);
 
+  #ifdef _unroll
   #pragma unroll
+  #endif
   for (int i = 16; i < 64; i += 16)
   {
     ROUND_EXPAND (); ROUND_STEP (i);