1
mirror of https://github.com/hashcat/hashcat synced 2024-11-02 20:39:22 +01:00

Fixed compiler warnings (unused variable)

This commit is contained in:
Gabriele 'matrix' Gristina 2016-01-25 13:32:45 +01:00
parent 58359f3b7e
commit 44c3f16bcb
16 changed files with 32 additions and 33 deletions

View File

@ -130,7 +130,7 @@ static void m00000m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global k
const u32x w0 = w0l | w0r;
u32x tmp2;
//u32x tmp2;
u32x a = MD5M_A;
u32x b = MD5M_B;
@ -350,7 +350,7 @@ static void m00000s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global k
const u32x pre_b = b_rev - (pre_a ^ pre_cd);
const u32x pre_c = c_rev - (pre_a ^ pre_b ^ pre_d);
u32x tmp2;
//u32x tmp2;
u32x a = MD5M_A;
u32x b = MD5M_B;

View File

@ -187,7 +187,7 @@ static void m00010m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global k
const u32x w0 = w0l | w0r;
u32x tmp2;
//u32x tmp2;
u32x a = MD5M_A;
u32x b = MD5M_B;
@ -407,7 +407,7 @@ static void m00010s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global k
const u32x pre_b = b_rev - (pre_a ^ pre_cd);
const u32x pre_c = c_rev - (pre_a ^ pre_b ^ pre_d);
u32x tmp2;
//u32x tmp2;
u32x a = MD5M_A;
u32x b = MD5M_B;

View File

@ -169,7 +169,7 @@ static void m00020m (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_le
* md5
*/
u32x tmp2;
//u32x tmp2;
u32x a = MD5M_A;
u32x b = MD5M_B;
@ -409,7 +409,7 @@ static void m00020s (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_le
* md5
*/
u32x tmp2;
//u32x tmp2;
u32x a = MD5M_A;
u32x b = MD5M_B;

View File

@ -44,7 +44,7 @@ static void md5_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], co
u32 we_t = w3[2];
u32 wf_t = 0;
u32 tmp2;
//u32 tmp2;
MD5_STEP (MD5_Fo, a, b, c, d, w0_t, MD5C00, MD5S00);
MD5_STEP (MD5_Fo, d, a, b, c, w1_t, MD5C01, MD5S01);

View File

@ -46,7 +46,7 @@ static void md5_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], co
u32 we_t = w3[2];
u32 wf_t = 0;
u32 tmp2;
//u32 tmp2;
MD5_STEP (MD5_Fo, a, b, c, d, w0_t, MD5C00, MD5S00);
MD5_STEP (MD5_Fo, d, a, b, c, w1_t, MD5C01, MD5S01);

View File

@ -47,7 +47,7 @@ static void md5_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], co
u32 we_t = w3[2];
u32 wf_t = 0;
u32 tmp2;
//u32 tmp2;
MD5_STEP (MD5_Fo, a, b, c, d, w0_t, MD5C00, MD5S00);
MD5_STEP (MD5_Fo, d, a, b, c, w1_t, MD5C01, MD5S01);

View File

@ -120,7 +120,7 @@ static void m02400m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global k
const u32x w0 = w0l | w0r;
u32x tmp2;
//u32x tmp2;
u32x a = MD5M_A;
u32x b = MD5M_B;
@ -316,7 +316,7 @@ static void m02400s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global k
const u32x w0 = w0l | w0r;
u32x tmp2;
//u32x tmp2;
u32x a = MD5M_A;
u32x b = MD5M_B;

View File

@ -165,7 +165,7 @@ static void m02410m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global k
const u32x w0 = w0l | w0r;
u32x tmp2;
//u32x tmp2;
u32x a = MD5M_A;
u32x b = MD5M_B;
@ -406,7 +406,7 @@ static void m02410s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global k
const u32x w0 = w0l | w0r;
u32x tmp2;
//u32x tmp2;
u32x a = MD5M_A;
u32x b = MD5M_B;

View File

@ -44,7 +44,7 @@ static void md5_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], co
u32 we_t = w3[2];
u32 wf_t = w3[3];
u32 tmp2;
//u32 tmp2;
MD5_STEP (MD5_Fo, a, b, c, d, w0_t, MD5C00, MD5S00);
MD5_STEP (MD5_Fo, d, a, b, c, w1_t, MD5C01, MD5S01);

View File

@ -44,7 +44,7 @@ static void md5_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], co
u32 we_t = w3[2];
u32 wf_t = 0;
u32 tmp2;
//u32 tmp2;
MD5_STEP (MD5_Fo, a, b, c, d, w0_t, MD5C00, MD5S00);
MD5_STEP (MD5_Fo, d, a, b, c, w1_t, MD5C01, MD5S01);

View File

@ -784,7 +784,7 @@ __kernel void m07700_m04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
* modifier
*/
const u32 lid = get_local_id (0);
//const u32 lid = get_local_id (0);
u32 w0[4];
@ -837,7 +837,7 @@ __kernel void m07700_m08 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
* modifier
*/
const u32 lid = get_local_id (0);
//const u32 lid = get_local_id (0);
u32 w0[4];
@ -894,7 +894,7 @@ __kernel void m07700_s04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
* modifier
*/
const u32 lid = get_local_id (0);
//const u32 lid = get_local_id (0);
u32 w0[4];
@ -947,7 +947,7 @@ __kernel void m07700_s08 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
* modifier
*/
const u32 lid = get_local_id (0);
//const u32 lid = get_local_id (0);
u32 w0[4];

View File

@ -654,7 +654,7 @@ __kernel void m07800_m04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
* modifier
*/
const u32 lid = get_local_id (0);
//const u32 lid = get_local_id (0);
u32 w0[4];
@ -707,7 +707,7 @@ __kernel void m07800_m08 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
* modifier
*/
const u32 lid = get_local_id (0);
//const u32 lid = get_local_id (0);
u32 w0[4];
@ -764,7 +764,7 @@ __kernel void m07800_s04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
* modifier
*/
const u32 lid = get_local_id (0);
//const u32 lid = get_local_id (0);
u32 w0[4];
@ -817,7 +817,7 @@ __kernel void m07800_s08 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
* modifier
*/
const u32 lid = get_local_id (0);
//const u32 lid = get_local_id (0);
u32 w0[4];

View File

@ -176,7 +176,7 @@ static void md5_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], co
u32 we_t = w3[2];
u32 wf_t = w3[3];
u32 tmp2;
//u32 tmp2;
MD5_STEP (MD5_Fo, a, b, c, d, w0_t, MD5C00, MD5S00);
MD5_STEP (MD5_Fo, d, a, b, c, w1_t, MD5C01, MD5S01);
@ -259,7 +259,7 @@ __kernel void m10500_init (__global pw_t *pws, __global kernel_rule_t *rules_buf
*/
const u32 gid = get_global_id (0);
const u32 lid = get_local_id (0);
//const u32 lid = get_local_id (0);
if (gid >= gid_max) return;
@ -290,9 +290,8 @@ __kernel void m10500_init (__global pw_t *pws, __global kernel_rule_t *rules_buf
* shared
*/
__local RC4_KEY rc4_keys[64];
__local RC4_KEY *rc4_key = &rc4_keys[lid];
//__local RC4_KEY rc4_keys[64];
//__local RC4_KEY *rc4_key = &rc4_keys[lid];
/**
* U_buf

View File

@ -45,7 +45,7 @@ static void md5_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], co
u32 we_t = w3[2];
u32 wf_t = w3[3];
u32 tmp2;
//u32 tmp2;
MD5_STEP (MD5_Fo, a, b, c, d, w0_t, MD5C00, MD5S00);
MD5_STEP (MD5_Fo, d, a, b, c, w1_t, MD5C01, MD5S01);

View File

@ -235,7 +235,7 @@ __kernel void m12900_init (__global pw_t *pws, __global kernel_rule_t *rules_buf
*/
const u32 gid = get_global_id (0);
const u32 lid = get_local_id (0);
//const u32 lid = get_local_id (0);
if (gid >= gid_max) return;
@ -271,7 +271,7 @@ __kernel void m12900_init (__global pw_t *pws, __global kernel_rule_t *rules_buf
w3[2] = pws[gid].i[14];
w3[3] = pws[gid].i[15];
const u32 pw_len = pws[gid].pw_len;
//const u32 pw_len = pws[gid].pw_len;
w0[0] = swap32 (w0[0]);
w0[1] = swap32 (w0[1]);

View File

@ -235,7 +235,7 @@ __kernel void m13000_init (__global pw_t *pws, __global kernel_rule_t *rules_buf
*/
const u32 gid = get_global_id (0);
const u32 lid = get_local_id (0);
//const u32 lid = get_local_id (0);
if (gid >= gid_max) return;
@ -271,7 +271,7 @@ __kernel void m13000_init (__global pw_t *pws, __global kernel_rule_t *rules_buf
w3[2] = pws[gid].i[14];
w3[3] = pws[gid].i[15];
const u32 pw_len = pws[gid].pw_len;
//const u32 pw_len = pws[gid].pw_len;
w0[0] = swap32 (w0[0]);
w0[1] = swap32 (w0[1]);