*/
const u32 userdomain_len = netntlm_bufs[salt_pos].user_len
- + netntlm_bufs[salt_pos].domain_len;
+ + netntlm_bufs[salt_pos].domain_len;
const u32 chall_len = netntlm_bufs[salt_pos].srvchall_len
- + netntlm_bufs[salt_pos].clichall_len;
+ + netntlm_bufs[salt_pos].clichall_len;
/**
* loop
const u32x w0lr = w0l | w0r;
+ /**
+ * pads
+ */
+
u32x w0_t[4];
u32x w1_t[4];
u32x w2_t[4];
w0_t[1] = w0[1];
w0_t[2] = w0[2];
w0_t[3] = w0[3];
-
w1_t[0] = w1[0];
w1_t[1] = w1[1];
w1_t[2] = w1[2];
w1_t[3] = w1[3];
-
w2_t[0] = w2[0];
w2_t[1] = w2[1];
w2_t[2] = w2[2];
w2_t[3] = w2[3];
-
w3_t[0] = w3[0];
w3_t[1] = w3[1];
w3_t[2] = w3[2];
const u32 gid = get_global_id (0);
const u32 lid = get_local_id (0);
+ /**
+ * prepare
+ */
+
+ const u32 userdomain_len = netntlm_bufs[salt_pos].user_len
+ + netntlm_bufs[salt_pos].domain_len;
+
+ const u32 chall_len = netntlm_bufs[salt_pos].srvchall_len
+ + netntlm_bufs[salt_pos].clichall_len;
+
/**
* digest
*/
digests_buf[digests_offset].digest_buf[DGST_R3]
};
- /**
- * prepare
- */
-
- const u32 userdomain_len = netntlm_bufs[salt_pos].user_len
- + netntlm_bufs[salt_pos].domain_len;
-
- const u32 chall_len = netntlm_bufs[salt_pos].srvchall_len
- + netntlm_bufs[salt_pos].clichall_len;
-
/**
* loop
*/
const u32x w0lr = w0l | w0r;
+ /**
+ * pads
+ */
+
u32x w0_t[4];
u32x w1_t[4];
u32x w2_t[4];
w0_t[1] = w0[1];
w0_t[2] = w0[2];
w0_t[3] = w0[3];
-
w1_t[0] = w1[0];
w1_t[1] = w1[1];
w1_t[2] = w1[2];
w1_t[3] = w1[3];
-
w2_t[0] = w2[0];
w2_t[1] = w2[1];
w2_t[2] = w2[2];
w2_t[3] = w2[3];
-
w3_t[0] = w3[0];
w3_t[1] = w3[1];
w3_t[2] = w3[2];