From 85d58b03e1f2d2a646c9a899b1cded97bfafaa0c Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 10 Apr 2019 12:23:39 +0200 Subject: [PATCH] Fix some signed/unsigned integer comparison warnings --- OpenCL/m00000_a3-pure.cl | 4 ++-- OpenCL/m00010_a0-pure.cl | 4 ++-- OpenCL/m00010_a1-pure.cl | 4 ++-- OpenCL/m00010_a3-pure.cl | 8 ++++---- OpenCL/m00020_a3-pure.cl | 4 ++-- OpenCL/m00030_a0-pure.cl | 4 ++-- OpenCL/m00030_a1-pure.cl | 4 ++-- OpenCL/m00030_a3-pure.cl | 8 ++++---- OpenCL/m00040_a3-pure.cl | 4 ++-- OpenCL/m00050_a0-pure.cl | 4 ++-- OpenCL/m00050_a1-pure.cl | 8 ++++---- OpenCL/m00050_a3-pure.cl | 8 ++++---- OpenCL/m00060_a0-pure.cl | 4 ++-- OpenCL/m00060_a1-pure.cl | 8 ++++---- OpenCL/m00060_a3-pure.cl | 8 ++++---- OpenCL/m00100_a3-pure.cl | 4 ++-- OpenCL/m00110_a0-pure.cl | 4 ++-- OpenCL/m00110_a1-pure.cl | 4 ++-- OpenCL/m00110_a3-pure.cl | 8 ++++---- OpenCL/m00120_a3-pure.cl | 4 ++-- OpenCL/m00130_a0-pure.cl | 4 ++-- OpenCL/m00130_a1-pure.cl | 4 ++-- OpenCL/m00130_a3-pure.cl | 8 ++++---- OpenCL/m00140_a3-pure.cl | 4 ++-- OpenCL/m00150_a0-pure.cl | 4 ++-- OpenCL/m00150_a1-pure.cl | 8 ++++---- OpenCL/m00150_a3-pure.cl | 8 ++++---- OpenCL/m00160_a0-pure.cl | 4 ++-- OpenCL/m00160_a1-pure.cl | 8 ++++---- OpenCL/m00160_a3-pure.cl | 8 ++++---- OpenCL/m00300_a3-pure.cl | 4 ++-- OpenCL/m00400-pure.cl | 2 +- OpenCL/m00500-pure.cl | 8 ++++---- OpenCL/m00900_a3-pure.cl | 4 ++-- OpenCL/m01000_a3-pure.cl | 4 ++-- OpenCL/m01100_a0-pure.cl | 4 ++-- OpenCL/m01100_a1-pure.cl | 4 ++-- OpenCL/m01100_a3-pure.cl | 8 ++++---- OpenCL/m01300_a3-pure.cl | 4 ++-- OpenCL/m01400_a3-pure.cl | 4 ++-- OpenCL/m01410_a0-pure.cl | 4 ++-- OpenCL/m01410_a1-pure.cl | 4 ++-- OpenCL/m01410_a3-pure.cl | 8 ++++---- OpenCL/m01420_a3-pure.cl | 4 ++-- OpenCL/m01430_a0-pure.cl | 4 ++-- OpenCL/m01430_a1-pure.cl | 4 ++-- OpenCL/m01430_a3-pure.cl | 8 ++++---- OpenCL/m01440_a3-pure.cl | 4 ++-- OpenCL/m01450_a0-pure.cl | 4 ++-- OpenCL/m01450_a1-pure.cl | 8 ++++---- OpenCL/m01450_a3-pure.cl | 8 ++++---- OpenCL/m01460_a0-pure.cl | 4 ++-- OpenCL/m01460_a1-pure.cl | 8 ++++---- OpenCL/m01460_a3-pure.cl | 8 ++++---- OpenCL/m01600-pure.cl | 8 ++++---- OpenCL/m01700_a3-pure.cl | 4 ++-- OpenCL/m01710_a0-pure.cl | 4 ++-- OpenCL/m01710_a1-pure.cl | 4 ++-- OpenCL/m01710_a3-pure.cl | 8 ++++---- OpenCL/m01720_a3-pure.cl | 4 ++-- OpenCL/m01730_a0-pure.cl | 4 ++-- OpenCL/m01730_a1-pure.cl | 4 ++-- OpenCL/m01730_a3-pure.cl | 8 ++++---- OpenCL/m01740_a3-pure.cl | 4 ++-- OpenCL/m01750_a0-pure.cl | 4 ++-- OpenCL/m01750_a1-pure.cl | 8 ++++---- OpenCL/m01750_a3-pure.cl | 8 ++++---- OpenCL/m01760_a0-pure.cl | 4 ++-- OpenCL/m01760_a1-pure.cl | 8 ++++---- OpenCL/m01760_a3-pure.cl | 8 ++++---- OpenCL/m01800-pure.cl | 8 ++++---- OpenCL/m02610_a0-pure.cl | 4 ++-- OpenCL/m02610_a1-pure.cl | 4 ++-- OpenCL/m02610_a3-pure.cl | 8 ++++---- OpenCL/m02810_a0-pure.cl | 4 ++-- OpenCL/m02810_a1-pure.cl | 4 ++-- OpenCL/m02810_a3-pure.cl | 8 ++++---- OpenCL/m03710_a0-pure.cl | 4 ++-- OpenCL/m03710_a1-pure.cl | 4 ++-- OpenCL/m03710_a3-pure.cl | 8 ++++---- OpenCL/m03800_a0-pure.cl | 4 ++-- OpenCL/m03800_a1-pure.cl | 4 ++-- OpenCL/m03800_a3-pure.cl | 8 ++++---- OpenCL/m03910_a0-pure.cl | 4 ++-- OpenCL/m03910_a1-pure.cl | 4 ++-- OpenCL/m03910_a3-pure.cl | 8 ++++---- OpenCL/m04010_a3-pure.cl | 4 ++-- OpenCL/m04110_a0-pure.cl | 4 ++-- OpenCL/m04110_a1-pure.cl | 4 ++-- OpenCL/m04110_a3-pure.cl | 8 ++++---- OpenCL/m04310_a0-pure.cl | 4 ++-- OpenCL/m04310_a1-pure.cl | 4 ++-- OpenCL/m04310_a3-pure.cl | 8 ++++---- OpenCL/m04400_a3-pure.cl | 4 ++-- OpenCL/m04500_a3-pure.cl | 4 ++-- OpenCL/m04520_a3-pure.cl | 4 ++-- OpenCL/m04700_a3-pure.cl | 4 ++-- OpenCL/m04800_a3-pure.cl | 4 ++-- OpenCL/m04900_a0-pure.cl | 4 ++-- OpenCL/m04900_a1-pure.cl | 4 ++-- OpenCL/m04900_a3-pure.cl | 8 ++++---- OpenCL/m05100_a3-pure.cl | 4 ++-- OpenCL/m05300_a1-pure.cl | 4 ++-- OpenCL/m05300_a3-pure.cl | 4 ++-- OpenCL/m05400_a1-pure.cl | 4 ++-- OpenCL/m05400_a3-pure.cl | 4 ++-- OpenCL/m05500_a3-pure.cl | 4 ++-- OpenCL/m05600_a3-pure.cl | 4 ++-- OpenCL/m05800-pure.cl | 4 ++-- OpenCL/m06000_a3-pure.cl | 4 ++-- OpenCL/m06100_a3-pure.cl | 4 ++-- OpenCL/m06300-pure.cl | 8 ++++---- OpenCL/m07000_a3-pure.cl | 4 ++-- OpenCL/m07300_a1-pure.cl | 4 ++-- OpenCL/m07300_a3-pure.cl | 4 ++-- OpenCL/m07400-pure.cl | 8 ++++---- OpenCL/m07500_a3-pure.cl | 4 ++-- OpenCL/m08100_a3-pure.cl | 4 ++-- OpenCL/m08300_a0-pure.cl | 4 ++-- OpenCL/m08300_a1-pure.cl | 4 ++-- OpenCL/m08300_a3-pure.cl | 8 ++++---- OpenCL/m08400_a3-pure.cl | 4 ++-- OpenCL/m09900_a3-pure.cl | 4 ++-- OpenCL/m10700-pure.cl | 2 +- OpenCL/m10800_a3-pure.cl | 4 ++-- OpenCL/m11000_a3-pure.cl | 4 ++-- OpenCL/m11100_a3-pure.cl | 4 ++-- OpenCL/m11200_a3-pure.cl | 4 ++-- OpenCL/m11700_a3-pure.cl | 4 ++-- OpenCL/m11750_a0-pure.cl | 4 ++-- OpenCL/m11760_a0-pure.cl | 4 ++-- OpenCL/m11800_a3-pure.cl | 4 ++-- OpenCL/m11850_a0-pure.cl | 4 ++-- OpenCL/m11860_a0-pure.cl | 4 ++-- OpenCL/m12400-pure.cl | 2 +- OpenCL/m12600_a3-pure.cl | 4 ++-- OpenCL/m13100_a3-pure.cl | 4 ++-- OpenCL/m13300_a3-pure.cl | 4 ++-- OpenCL/m13500_a3-pure.cl | 4 ++-- OpenCL/m13800_a3-pure.cl | 8 ++++---- OpenCL/m13900_a3-pure.cl | 4 ++-- OpenCL/m14400_a3-pure.cl | 4 ++-- OpenCL/m15000_a0-pure.cl | 4 ++-- OpenCL/m15000_a1-pure.cl | 4 ++-- OpenCL/m15000_a3-pure.cl | 8 ++++---- OpenCL/m15500_a0-pure.cl | 4 ++-- OpenCL/m15500_a1-pure.cl | 4 ++-- OpenCL/m15500_a3-pure.cl | 8 ++++---- OpenCL/m16100_a3-pure.cl | 4 ++-- OpenCL/m16400_a3-pure.cl | 4 ++-- OpenCL/m16511_a1-pure.cl | 4 ++-- OpenCL/m16511_a3-pure.cl | 4 ++-- OpenCL/m16512_a1-pure.cl | 4 ++-- OpenCL/m16512_a3-pure.cl | 4 ++-- OpenCL/m16513_a1-pure.cl | 4 ++-- OpenCL/m16513_a3-pure.cl | 4 ++-- OpenCL/m16600_a3-pure.cl | 4 ++-- OpenCL/m18100_a0-pure.cl | 4 ++-- OpenCL/m18100_a1-pure.cl | 8 ++++---- OpenCL/m18100_a3-pure.cl | 8 ++++---- OpenCL/m18200_a3-pure.cl | 4 ++-- OpenCL/m18500_a3-pure.cl | 4 ++-- OpenCL/m18700_a3-pure.cl | 4 ++-- OpenCL/m19300_a3-pure.cl | 4 ++-- OpenCL/m19500_a0-pure.cl | 4 ++-- OpenCL/m19500_a1-pure.cl | 4 ++-- OpenCL/m19500_a3-pure.cl | 8 ++++---- 167 files changed, 421 insertions(+), 421 deletions(-) diff --git a/OpenCL/m00000_a3-pure.cl b/OpenCL/m00000_a3-pure.cl index 11f74142d..ee6072389 100644 --- a/OpenCL/m00000_a3-pure.cl +++ b/OpenCL/m00000_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00000_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -99,7 +99,7 @@ KERNEL_FQ void m00000_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m00010_a0-pure.cl b/OpenCL/m00010_a0-pure.cl index 4b0790e91..1b9765de2 100644 --- a/OpenCL/m00010_a0-pure.cl +++ b/OpenCL/m00010_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m00010_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -103,7 +103,7 @@ KERNEL_FQ void m00010_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m00010_a1-pure.cl b/OpenCL/m00010_a1-pure.cl index e28624755..fbc397d7d 100644 --- a/OpenCL/m00010_a1-pure.cl +++ b/OpenCL/m00010_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00010_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -97,7 +97,7 @@ KERNEL_FQ void m00010_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m00010_a3-pure.cl b/OpenCL/m00010_a3-pure.cl index c415b3422..362207256 100644 --- a/OpenCL/m00010_a3-pure.cl +++ b/OpenCL/m00010_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00010_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m00010_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -110,7 +110,7 @@ KERNEL_FQ void m00010_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -119,7 +119,7 @@ KERNEL_FQ void m00010_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m00020_a3-pure.cl b/OpenCL/m00020_a3-pure.cl index 61c585cbe..d937f3f82 100644 --- a/OpenCL/m00020_a3-pure.cl +++ b/OpenCL/m00020_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00020_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -105,7 +105,7 @@ KERNEL_FQ void m00020_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m00030_a0-pure.cl b/OpenCL/m00030_a0-pure.cl index 4c86b7f69..ac7ebbd6d 100644 --- a/OpenCL/m00030_a0-pure.cl +++ b/OpenCL/m00030_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m00030_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -103,7 +103,7 @@ KERNEL_FQ void m00030_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m00030_a1-pure.cl b/OpenCL/m00030_a1-pure.cl index 306721186..ac7582c66 100644 --- a/OpenCL/m00030_a1-pure.cl +++ b/OpenCL/m00030_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00030_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -97,7 +97,7 @@ KERNEL_FQ void m00030_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m00030_a3-pure.cl b/OpenCL/m00030_a3-pure.cl index 182f7e444..dedf84f53 100644 --- a/OpenCL/m00030_a3-pure.cl +++ b/OpenCL/m00030_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00030_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m00030_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -110,7 +110,7 @@ KERNEL_FQ void m00030_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -119,7 +119,7 @@ KERNEL_FQ void m00030_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m00040_a3-pure.cl b/OpenCL/m00040_a3-pure.cl index f2783cba4..4da1b7438 100644 --- a/OpenCL/m00040_a3-pure.cl +++ b/OpenCL/m00040_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00040_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -105,7 +105,7 @@ KERNEL_FQ void m00040_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m00050_a0-pure.cl b/OpenCL/m00050_a0-pure.cl index 6ebd9762a..38fba8341 100644 --- a/OpenCL/m00050_a0-pure.cl +++ b/OpenCL/m00050_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m00050_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -101,7 +101,7 @@ KERNEL_FQ void m00050_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m00050_a1-pure.cl b/OpenCL/m00050_a1-pure.cl index b0c11af36..927d48fcb 100644 --- a/OpenCL/m00050_a1-pure.cl +++ b/OpenCL/m00050_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00050_mxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m00050_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -122,7 +122,7 @@ KERNEL_FQ void m00050_sxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -131,7 +131,7 @@ KERNEL_FQ void m00050_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m00050_a3-pure.cl b/OpenCL/m00050_a3-pure.cl index f21066750..3e0adaee3 100644 --- a/OpenCL/m00050_a3-pure.cl +++ b/OpenCL/m00050_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00050_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m00050_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -108,7 +108,7 @@ KERNEL_FQ void m00050_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -117,7 +117,7 @@ KERNEL_FQ void m00050_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m00060_a0-pure.cl b/OpenCL/m00060_a0-pure.cl index d46ad0ce8..9efc3ea1e 100644 --- a/OpenCL/m00060_a0-pure.cl +++ b/OpenCL/m00060_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m00060_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -103,7 +103,7 @@ KERNEL_FQ void m00060_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m00060_a1-pure.cl b/OpenCL/m00060_a1-pure.cl index 2019e8fe9..fa247bfc8 100644 --- a/OpenCL/m00060_a1-pure.cl +++ b/OpenCL/m00060_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00060_mxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m00060_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -124,7 +124,7 @@ KERNEL_FQ void m00060_sxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -133,7 +133,7 @@ KERNEL_FQ void m00060_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m00060_a3-pure.cl b/OpenCL/m00060_a3-pure.cl index 16d00ab57..c44f0ea10 100644 --- a/OpenCL/m00060_a3-pure.cl +++ b/OpenCL/m00060_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00060_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m00060_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -110,7 +110,7 @@ KERNEL_FQ void m00060_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -119,7 +119,7 @@ KERNEL_FQ void m00060_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m00100_a3-pure.cl b/OpenCL/m00100_a3-pure.cl index 4134eca49..881f45ee4 100644 --- a/OpenCL/m00100_a3-pure.cl +++ b/OpenCL/m00100_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00100_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -99,7 +99,7 @@ KERNEL_FQ void m00100_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m00110_a0-pure.cl b/OpenCL/m00110_a0-pure.cl index a51b1b374..5103f8a56 100644 --- a/OpenCL/m00110_a0-pure.cl +++ b/OpenCL/m00110_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m00110_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -103,7 +103,7 @@ KERNEL_FQ void m00110_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m00110_a1-pure.cl b/OpenCL/m00110_a1-pure.cl index 37c6eafa1..294def602 100644 --- a/OpenCL/m00110_a1-pure.cl +++ b/OpenCL/m00110_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00110_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -97,7 +97,7 @@ KERNEL_FQ void m00110_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m00110_a3-pure.cl b/OpenCL/m00110_a3-pure.cl index 9c926582b..c17b03694 100644 --- a/OpenCL/m00110_a3-pure.cl +++ b/OpenCL/m00110_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00110_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m00110_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -110,7 +110,7 @@ KERNEL_FQ void m00110_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -119,7 +119,7 @@ KERNEL_FQ void m00110_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m00120_a3-pure.cl b/OpenCL/m00120_a3-pure.cl index 65c6b070a..6d5cf8c7c 100644 --- a/OpenCL/m00120_a3-pure.cl +++ b/OpenCL/m00120_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00120_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -105,7 +105,7 @@ KERNEL_FQ void m00120_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m00130_a0-pure.cl b/OpenCL/m00130_a0-pure.cl index 56029cf3d..9a8493ffa 100644 --- a/OpenCL/m00130_a0-pure.cl +++ b/OpenCL/m00130_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m00130_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -103,7 +103,7 @@ KERNEL_FQ void m00130_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m00130_a1-pure.cl b/OpenCL/m00130_a1-pure.cl index 7188639aa..69f9b7de2 100644 --- a/OpenCL/m00130_a1-pure.cl +++ b/OpenCL/m00130_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00130_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -97,7 +97,7 @@ KERNEL_FQ void m00130_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m00130_a3-pure.cl b/OpenCL/m00130_a3-pure.cl index dff3133b6..00e20212c 100644 --- a/OpenCL/m00130_a3-pure.cl +++ b/OpenCL/m00130_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00130_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m00130_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -110,7 +110,7 @@ KERNEL_FQ void m00130_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -119,7 +119,7 @@ KERNEL_FQ void m00130_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m00140_a3-pure.cl b/OpenCL/m00140_a3-pure.cl index a1e087445..f68773c30 100644 --- a/OpenCL/m00140_a3-pure.cl +++ b/OpenCL/m00140_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00140_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -105,7 +105,7 @@ KERNEL_FQ void m00140_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m00150_a0-pure.cl b/OpenCL/m00150_a0-pure.cl index 5bbcde96e..47d679903 100644 --- a/OpenCL/m00150_a0-pure.cl +++ b/OpenCL/m00150_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m00150_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -101,7 +101,7 @@ KERNEL_FQ void m00150_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m00150_a1-pure.cl b/OpenCL/m00150_a1-pure.cl index c675a35dc..24153ff0f 100644 --- a/OpenCL/m00150_a1-pure.cl +++ b/OpenCL/m00150_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00150_mxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -41,7 +41,7 @@ KERNEL_FQ void m00150_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -122,7 +122,7 @@ KERNEL_FQ void m00150_sxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -131,7 +131,7 @@ KERNEL_FQ void m00150_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m00150_a3-pure.cl b/OpenCL/m00150_a3-pure.cl index 296cd8c88..f4703db48 100644 --- a/OpenCL/m00150_a3-pure.cl +++ b/OpenCL/m00150_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00150_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m00150_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -108,7 +108,7 @@ KERNEL_FQ void m00150_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -117,7 +117,7 @@ KERNEL_FQ void m00150_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m00160_a0-pure.cl b/OpenCL/m00160_a0-pure.cl index f4ec5413d..5ae8c69d1 100644 --- a/OpenCL/m00160_a0-pure.cl +++ b/OpenCL/m00160_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m00160_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -103,7 +103,7 @@ KERNEL_FQ void m00160_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m00160_a1-pure.cl b/OpenCL/m00160_a1-pure.cl index 9a26d7eab..39a1a1c10 100644 --- a/OpenCL/m00160_a1-pure.cl +++ b/OpenCL/m00160_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00160_mxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -41,7 +41,7 @@ KERNEL_FQ void m00160_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -124,7 +124,7 @@ KERNEL_FQ void m00160_sxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -133,7 +133,7 @@ KERNEL_FQ void m00160_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m00160_a3-pure.cl b/OpenCL/m00160_a3-pure.cl index 6da08e1f2..24fb6e0ef 100644 --- a/OpenCL/m00160_a3-pure.cl +++ b/OpenCL/m00160_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00160_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m00160_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -110,7 +110,7 @@ KERNEL_FQ void m00160_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -119,7 +119,7 @@ KERNEL_FQ void m00160_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m00300_a3-pure.cl b/OpenCL/m00300_a3-pure.cl index a94d806c5..4d4865da2 100644 --- a/OpenCL/m00300_a3-pure.cl +++ b/OpenCL/m00300_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00300_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -122,7 +122,7 @@ KERNEL_FQ void m00300_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m00400-pure.cl b/OpenCL/m00400-pure.cl index 4446e046e..c251a0380 100644 --- a/OpenCL/m00400-pure.cl +++ b/OpenCL/m00400-pure.cl @@ -77,7 +77,7 @@ KERNEL_FQ void m00400_loop (KERN_ATTR_TMPS (phpass_tmp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m00500-pure.cl b/OpenCL/m00500-pure.cl index d609e341c..d30b7d1ae 100644 --- a/OpenCL/m00500-pure.cl +++ b/OpenCL/m00500-pure.cl @@ -41,7 +41,7 @@ KERNEL_FQ void m00500_init (KERN_ATTR_TMPS (md5crypt_tmp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -50,7 +50,7 @@ KERNEL_FQ void m00500_init (KERN_ATTR_TMPS (md5crypt_tmp_t)) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -147,7 +147,7 @@ KERNEL_FQ void m00500_loop (KERN_ATTR_TMPS (md5crypt_tmp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -156,7 +156,7 @@ KERNEL_FQ void m00500_loop (KERN_ATTR_TMPS (md5crypt_tmp_t)) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m00900_a3-pure.cl b/OpenCL/m00900_a3-pure.cl index 80620f987..40f3e297c 100644 --- a/OpenCL/m00900_a3-pure.cl +++ b/OpenCL/m00900_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m00900_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -99,7 +99,7 @@ KERNEL_FQ void m00900_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m01000_a3-pure.cl b/OpenCL/m01000_a3-pure.cl index 19d0421b5..91c34a4de 100644 --- a/OpenCL/m01000_a3-pure.cl +++ b/OpenCL/m01000_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01000_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -99,7 +99,7 @@ KERNEL_FQ void m01000_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m01100_a0-pure.cl b/OpenCL/m01100_a0-pure.cl index 226206ee6..311bf0a12 100644 --- a/OpenCL/m01100_a0-pure.cl +++ b/OpenCL/m01100_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m01100_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -116,7 +116,7 @@ KERNEL_FQ void m01100_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m01100_a1-pure.cl b/OpenCL/m01100_a1-pure.cl index b39c60882..d7d218ad6 100644 --- a/OpenCL/m01100_a1-pure.cl +++ b/OpenCL/m01100_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01100_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -110,7 +110,7 @@ KERNEL_FQ void m01100_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m01100_a3-pure.cl b/OpenCL/m01100_a3-pure.cl index 9355bc825..155828ab5 100644 --- a/OpenCL/m01100_a3-pure.cl +++ b/OpenCL/m01100_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01100_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m01100_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -123,7 +123,7 @@ KERNEL_FQ void m01100_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -132,7 +132,7 @@ KERNEL_FQ void m01100_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m01300_a3-pure.cl b/OpenCL/m01300_a3-pure.cl index 7fc2d9688..c5c54972a 100644 --- a/OpenCL/m01300_a3-pure.cl +++ b/OpenCL/m01300_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01300_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -99,7 +99,7 @@ KERNEL_FQ void m01300_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m01400_a3-pure.cl b/OpenCL/m01400_a3-pure.cl index ea2876f55..50ae4b91e 100644 --- a/OpenCL/m01400_a3-pure.cl +++ b/OpenCL/m01400_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01400_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -99,7 +99,7 @@ KERNEL_FQ void m01400_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m01410_a0-pure.cl b/OpenCL/m01410_a0-pure.cl index 5eb183743..852574eec 100644 --- a/OpenCL/m01410_a0-pure.cl +++ b/OpenCL/m01410_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m01410_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -103,7 +103,7 @@ KERNEL_FQ void m01410_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01410_a1-pure.cl b/OpenCL/m01410_a1-pure.cl index 6567ed32b..4ca539c91 100644 --- a/OpenCL/m01410_a1-pure.cl +++ b/OpenCL/m01410_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01410_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -97,7 +97,7 @@ KERNEL_FQ void m01410_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01410_a3-pure.cl b/OpenCL/m01410_a3-pure.cl index 55c899b9d..ec5c0fd00 100644 --- a/OpenCL/m01410_a3-pure.cl +++ b/OpenCL/m01410_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01410_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m01410_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -110,7 +110,7 @@ KERNEL_FQ void m01410_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -119,7 +119,7 @@ KERNEL_FQ void m01410_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01420_a3-pure.cl b/OpenCL/m01420_a3-pure.cl index 70463fcc7..197729d3a 100644 --- a/OpenCL/m01420_a3-pure.cl +++ b/OpenCL/m01420_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01420_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -105,7 +105,7 @@ KERNEL_FQ void m01420_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m01430_a0-pure.cl b/OpenCL/m01430_a0-pure.cl index d77a15bf6..4ed0a82e5 100644 --- a/OpenCL/m01430_a0-pure.cl +++ b/OpenCL/m01430_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m01430_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -103,7 +103,7 @@ KERNEL_FQ void m01430_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01430_a1-pure.cl b/OpenCL/m01430_a1-pure.cl index f163d3a02..3b5db7ce1 100644 --- a/OpenCL/m01430_a1-pure.cl +++ b/OpenCL/m01430_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01430_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -97,7 +97,7 @@ KERNEL_FQ void m01430_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01430_a3-pure.cl b/OpenCL/m01430_a3-pure.cl index c33ac3d8b..3827a7ca7 100644 --- a/OpenCL/m01430_a3-pure.cl +++ b/OpenCL/m01430_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01430_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m01430_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -110,7 +110,7 @@ KERNEL_FQ void m01430_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -119,7 +119,7 @@ KERNEL_FQ void m01430_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01440_a3-pure.cl b/OpenCL/m01440_a3-pure.cl index 874f31160..91208330e 100644 --- a/OpenCL/m01440_a3-pure.cl +++ b/OpenCL/m01440_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01440_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -105,7 +105,7 @@ KERNEL_FQ void m01440_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m01450_a0-pure.cl b/OpenCL/m01450_a0-pure.cl index bb9566ba6..6febabf09 100644 --- a/OpenCL/m01450_a0-pure.cl +++ b/OpenCL/m01450_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m01450_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -101,7 +101,7 @@ KERNEL_FQ void m01450_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01450_a1-pure.cl b/OpenCL/m01450_a1-pure.cl index 24aaefd17..2dc862f8e 100644 --- a/OpenCL/m01450_a1-pure.cl +++ b/OpenCL/m01450_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01450_mxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -41,7 +41,7 @@ KERNEL_FQ void m01450_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -122,7 +122,7 @@ KERNEL_FQ void m01450_sxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -131,7 +131,7 @@ KERNEL_FQ void m01450_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01450_a3-pure.cl b/OpenCL/m01450_a3-pure.cl index 1b2e6e31b..7a73dfacd 100644 --- a/OpenCL/m01450_a3-pure.cl +++ b/OpenCL/m01450_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01450_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m01450_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -108,7 +108,7 @@ KERNEL_FQ void m01450_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -117,7 +117,7 @@ KERNEL_FQ void m01450_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01460_a0-pure.cl b/OpenCL/m01460_a0-pure.cl index fdb5c662d..c6e2abad6 100644 --- a/OpenCL/m01460_a0-pure.cl +++ b/OpenCL/m01460_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m01460_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -103,7 +103,7 @@ KERNEL_FQ void m01460_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01460_a1-pure.cl b/OpenCL/m01460_a1-pure.cl index 666a5f7d1..b40516132 100644 --- a/OpenCL/m01460_a1-pure.cl +++ b/OpenCL/m01460_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01460_mxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -41,7 +41,7 @@ KERNEL_FQ void m01460_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -124,7 +124,7 @@ KERNEL_FQ void m01460_sxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -133,7 +133,7 @@ KERNEL_FQ void m01460_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01460_a3-pure.cl b/OpenCL/m01460_a3-pure.cl index c5d15d7c9..01deffbae 100644 --- a/OpenCL/m01460_a3-pure.cl +++ b/OpenCL/m01460_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01460_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m01460_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -110,7 +110,7 @@ KERNEL_FQ void m01460_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -119,7 +119,7 @@ KERNEL_FQ void m01460_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01600-pure.cl b/OpenCL/m01600-pure.cl index 567ae9bfa..129ff6ab2 100644 --- a/OpenCL/m01600-pure.cl +++ b/OpenCL/m01600-pure.cl @@ -42,7 +42,7 @@ KERNEL_FQ void m01600_init (KERN_ATTR_TMPS (md5crypt_tmp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -51,7 +51,7 @@ KERNEL_FQ void m01600_init (KERN_ATTR_TMPS (md5crypt_tmp_t)) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -149,7 +149,7 @@ KERNEL_FQ void m01600_loop (KERN_ATTR_TMPS (md5crypt_tmp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -158,7 +158,7 @@ KERNEL_FQ void m01600_loop (KERN_ATTR_TMPS (md5crypt_tmp_t)) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m01700_a3-pure.cl b/OpenCL/m01700_a3-pure.cl index 4eae8ab89..19a23b77c 100644 --- a/OpenCL/m01700_a3-pure.cl +++ b/OpenCL/m01700_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01700_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -99,7 +99,7 @@ KERNEL_FQ void m01700_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m01710_a0-pure.cl b/OpenCL/m01710_a0-pure.cl index a9aeed15b..6d40f022d 100644 --- a/OpenCL/m01710_a0-pure.cl +++ b/OpenCL/m01710_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m01710_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -103,7 +103,7 @@ KERNEL_FQ void m01710_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01710_a1-pure.cl b/OpenCL/m01710_a1-pure.cl index 8956f2099..aa558a08f 100644 --- a/OpenCL/m01710_a1-pure.cl +++ b/OpenCL/m01710_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01710_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -97,7 +97,7 @@ KERNEL_FQ void m01710_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01710_a3-pure.cl b/OpenCL/m01710_a3-pure.cl index fd311b1e0..cd381f8b1 100644 --- a/OpenCL/m01710_a3-pure.cl +++ b/OpenCL/m01710_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01710_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m01710_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -110,7 +110,7 @@ KERNEL_FQ void m01710_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -119,7 +119,7 @@ KERNEL_FQ void m01710_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01720_a3-pure.cl b/OpenCL/m01720_a3-pure.cl index 8a143c538..b4faaaed2 100644 --- a/OpenCL/m01720_a3-pure.cl +++ b/OpenCL/m01720_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01720_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -105,7 +105,7 @@ KERNEL_FQ void m01720_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m01730_a0-pure.cl b/OpenCL/m01730_a0-pure.cl index 3f07846d8..1f2f9946f 100644 --- a/OpenCL/m01730_a0-pure.cl +++ b/OpenCL/m01730_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m01730_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -103,7 +103,7 @@ KERNEL_FQ void m01730_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01730_a1-pure.cl b/OpenCL/m01730_a1-pure.cl index 189586d83..e1dd5629d 100644 --- a/OpenCL/m01730_a1-pure.cl +++ b/OpenCL/m01730_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01730_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -97,7 +97,7 @@ KERNEL_FQ void m01730_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01730_a3-pure.cl b/OpenCL/m01730_a3-pure.cl index 7d5cac9f8..119a19f31 100644 --- a/OpenCL/m01730_a3-pure.cl +++ b/OpenCL/m01730_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01730_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m01730_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -110,7 +110,7 @@ KERNEL_FQ void m01730_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -119,7 +119,7 @@ KERNEL_FQ void m01730_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01740_a3-pure.cl b/OpenCL/m01740_a3-pure.cl index 2aee6cac0..298ff8eb7 100644 --- a/OpenCL/m01740_a3-pure.cl +++ b/OpenCL/m01740_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01740_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -105,7 +105,7 @@ KERNEL_FQ void m01740_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m01750_a0-pure.cl b/OpenCL/m01750_a0-pure.cl index 565b6db17..adf938244 100644 --- a/OpenCL/m01750_a0-pure.cl +++ b/OpenCL/m01750_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m01750_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -101,7 +101,7 @@ KERNEL_FQ void m01750_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01750_a1-pure.cl b/OpenCL/m01750_a1-pure.cl index 98e1b5e49..ebc65973f 100644 --- a/OpenCL/m01750_a1-pure.cl +++ b/OpenCL/m01750_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01750_mxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -41,7 +41,7 @@ KERNEL_FQ void m01750_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -122,7 +122,7 @@ KERNEL_FQ void m01750_sxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -131,7 +131,7 @@ KERNEL_FQ void m01750_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01750_a3-pure.cl b/OpenCL/m01750_a3-pure.cl index 116c40ce5..1a2c82e24 100644 --- a/OpenCL/m01750_a3-pure.cl +++ b/OpenCL/m01750_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01750_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m01750_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -108,7 +108,7 @@ KERNEL_FQ void m01750_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -117,7 +117,7 @@ KERNEL_FQ void m01750_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01760_a0-pure.cl b/OpenCL/m01760_a0-pure.cl index 0167f1b57..149526465 100644 --- a/OpenCL/m01760_a0-pure.cl +++ b/OpenCL/m01760_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m01760_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -103,7 +103,7 @@ KERNEL_FQ void m01760_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01760_a1-pure.cl b/OpenCL/m01760_a1-pure.cl index 7f1b9fe55..81fe1aa1a 100644 --- a/OpenCL/m01760_a1-pure.cl +++ b/OpenCL/m01760_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01760_mxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -41,7 +41,7 @@ KERNEL_FQ void m01760_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -124,7 +124,7 @@ KERNEL_FQ void m01760_sxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -133,7 +133,7 @@ KERNEL_FQ void m01760_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01760_a3-pure.cl b/OpenCL/m01760_a3-pure.cl index c40ae8c11..1110e21da 100644 --- a/OpenCL/m01760_a3-pure.cl +++ b/OpenCL/m01760_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m01760_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m01760_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -110,7 +110,7 @@ KERNEL_FQ void m01760_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -119,7 +119,7 @@ KERNEL_FQ void m01760_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m01800-pure.cl b/OpenCL/m01800-pure.cl index 80adb080d..64a705d8e 100644 --- a/OpenCL/m01800-pure.cl +++ b/OpenCL/m01800-pure.cl @@ -45,12 +45,12 @@ KERNEL_FQ void m01800_init (KERN_ATTR_TMPS (sha512crypt_tmp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (w[idx]); } @@ -59,12 +59,12 @@ KERNEL_FQ void m01800_init (KERN_ATTR_TMPS (sha512crypt_tmp_t)) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (s[idx]); } diff --git a/OpenCL/m02610_a0-pure.cl b/OpenCL/m02610_a0-pure.cl index 143f32f28..5c209f995 100644 --- a/OpenCL/m02610_a0-pure.cl +++ b/OpenCL/m02610_a0-pure.cl @@ -66,7 +66,7 @@ KERNEL_FQ void m02610_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -181,7 +181,7 @@ KERNEL_FQ void m02610_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m02610_a1-pure.cl b/OpenCL/m02610_a1-pure.cl index c4b97e3c8..46f3808bb 100644 --- a/OpenCL/m02610_a1-pure.cl +++ b/OpenCL/m02610_a1-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m02610_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -175,7 +175,7 @@ KERNEL_FQ void m02610_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m02610_a3-pure.cl b/OpenCL/m02610_a3-pure.cl index 448bdddcf..842897b54 100644 --- a/OpenCL/m02610_a3-pure.cl +++ b/OpenCL/m02610_a3-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m02610_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -71,7 +71,7 @@ KERNEL_FQ void m02610_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -188,7 +188,7 @@ KERNEL_FQ void m02610_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -197,7 +197,7 @@ KERNEL_FQ void m02610_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m02810_a0-pure.cl b/OpenCL/m02810_a0-pure.cl index e12a17728..5e22e1b3b 100644 --- a/OpenCL/m02810_a0-pure.cl +++ b/OpenCL/m02810_a0-pure.cl @@ -66,7 +66,7 @@ KERNEL_FQ void m02810_mxx (KERN_ATTR_RULES ()) u32 s[8] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf_pc[idx]; } @@ -204,7 +204,7 @@ KERNEL_FQ void m02810_sxx (KERN_ATTR_RULES ()) u32 s[8] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf_pc[idx]; } diff --git a/OpenCL/m02810_a1-pure.cl b/OpenCL/m02810_a1-pure.cl index 64209484b..187fe0dfc 100644 --- a/OpenCL/m02810_a1-pure.cl +++ b/OpenCL/m02810_a1-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m02810_mxx (KERN_ATTR_BASIC ()) u32 s[8] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf_pc[idx]; } @@ -198,7 +198,7 @@ KERNEL_FQ void m02810_sxx (KERN_ATTR_BASIC ()) u32 s[8] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf_pc[idx]; } diff --git a/OpenCL/m02810_a3-pure.cl b/OpenCL/m02810_a3-pure.cl index bc7178999..0af147c6b 100644 --- a/OpenCL/m02810_a3-pure.cl +++ b/OpenCL/m02810_a3-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m02810_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -71,7 +71,7 @@ KERNEL_FQ void m02810_mxx (KERN_ATTR_VECTOR ()) u32 s[8] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf_pc[idx]; } @@ -211,7 +211,7 @@ KERNEL_FQ void m02810_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -220,7 +220,7 @@ KERNEL_FQ void m02810_sxx (KERN_ATTR_VECTOR ()) u32 s[8] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf_pc[idx]; } diff --git a/OpenCL/m03710_a0-pure.cl b/OpenCL/m03710_a0-pure.cl index 1968820c7..600e2bfbd 100644 --- a/OpenCL/m03710_a0-pure.cl +++ b/OpenCL/m03710_a0-pure.cl @@ -66,7 +66,7 @@ KERNEL_FQ void m03710_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -194,7 +194,7 @@ KERNEL_FQ void m03710_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m03710_a1-pure.cl b/OpenCL/m03710_a1-pure.cl index 8f45d0522..334a09bdb 100644 --- a/OpenCL/m03710_a1-pure.cl +++ b/OpenCL/m03710_a1-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m03710_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -188,7 +188,7 @@ KERNEL_FQ void m03710_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m03710_a3-pure.cl b/OpenCL/m03710_a3-pure.cl index 342a13974..b9c61f98f 100644 --- a/OpenCL/m03710_a3-pure.cl +++ b/OpenCL/m03710_a3-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m03710_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -71,7 +71,7 @@ KERNEL_FQ void m03710_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -201,7 +201,7 @@ KERNEL_FQ void m03710_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -210,7 +210,7 @@ KERNEL_FQ void m03710_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m03800_a0-pure.cl b/OpenCL/m03800_a0-pure.cl index df14818f5..4bcc387b9 100644 --- a/OpenCL/m03800_a0-pure.cl +++ b/OpenCL/m03800_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m03800_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -107,7 +107,7 @@ KERNEL_FQ void m03800_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m03800_a1-pure.cl b/OpenCL/m03800_a1-pure.cl index d63de7d0d..e0b3fbf2d 100644 --- a/OpenCL/m03800_a1-pure.cl +++ b/OpenCL/m03800_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m03800_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -99,7 +99,7 @@ KERNEL_FQ void m03800_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m03800_a3-pure.cl b/OpenCL/m03800_a3-pure.cl index f45ff5b8e..4f8bf236b 100644 --- a/OpenCL/m03800_a3-pure.cl +++ b/OpenCL/m03800_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m03800_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m03800_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -116,7 +116,7 @@ KERNEL_FQ void m03800_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -125,7 +125,7 @@ KERNEL_FQ void m03800_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m03910_a0-pure.cl b/OpenCL/m03910_a0-pure.cl index 3b7a85d3b..9cebaca44 100644 --- a/OpenCL/m03910_a0-pure.cl +++ b/OpenCL/m03910_a0-pure.cl @@ -66,7 +66,7 @@ KERNEL_FQ void m03910_mxx (KERN_ATTR_RULES ()) u32 s[8] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf_pc[idx]; } @@ -204,7 +204,7 @@ KERNEL_FQ void m03910_sxx (KERN_ATTR_RULES ()) u32 s[8] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf_pc[idx]; } diff --git a/OpenCL/m03910_a1-pure.cl b/OpenCL/m03910_a1-pure.cl index 104fe563e..3c3706a99 100644 --- a/OpenCL/m03910_a1-pure.cl +++ b/OpenCL/m03910_a1-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m03910_mxx (KERN_ATTR_BASIC ()) u32 s[8] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf_pc[idx]; } @@ -198,7 +198,7 @@ KERNEL_FQ void m03910_sxx (KERN_ATTR_BASIC ()) u32 s[8] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf_pc[idx]; } diff --git a/OpenCL/m03910_a3-pure.cl b/OpenCL/m03910_a3-pure.cl index 5b583f2d2..b4c269e4c 100644 --- a/OpenCL/m03910_a3-pure.cl +++ b/OpenCL/m03910_a3-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m03910_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -71,7 +71,7 @@ KERNEL_FQ void m03910_mxx (KERN_ATTR_VECTOR ()) u32x s[8] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf_pc[idx]; } @@ -211,7 +211,7 @@ KERNEL_FQ void m03910_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -220,7 +220,7 @@ KERNEL_FQ void m03910_sxx (KERN_ATTR_VECTOR ()) u32x s[8] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf_pc[idx]; } diff --git a/OpenCL/m04010_a3-pure.cl b/OpenCL/m04010_a3-pure.cl index be45c592f..2f6882a17 100644 --- a/OpenCL/m04010_a3-pure.cl +++ b/OpenCL/m04010_a3-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m04010_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -196,7 +196,7 @@ KERNEL_FQ void m04010_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m04110_a0-pure.cl b/OpenCL/m04110_a0-pure.cl index f62bb7614..8347442e3 100644 --- a/OpenCL/m04110_a0-pure.cl +++ b/OpenCL/m04110_a0-pure.cl @@ -66,7 +66,7 @@ KERNEL_FQ void m04110_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -198,7 +198,7 @@ KERNEL_FQ void m04110_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m04110_a1-pure.cl b/OpenCL/m04110_a1-pure.cl index d3b34b792..9d9273f2a 100644 --- a/OpenCL/m04110_a1-pure.cl +++ b/OpenCL/m04110_a1-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m04110_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -192,7 +192,7 @@ KERNEL_FQ void m04110_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m04110_a3-pure.cl b/OpenCL/m04110_a3-pure.cl index c8b6c635a..4c74ccbd2 100644 --- a/OpenCL/m04110_a3-pure.cl +++ b/OpenCL/m04110_a3-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m04110_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -71,7 +71,7 @@ KERNEL_FQ void m04110_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -207,7 +207,7 @@ KERNEL_FQ void m04110_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -216,7 +216,7 @@ KERNEL_FQ void m04110_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m04310_a0-pure.cl b/OpenCL/m04310_a0-pure.cl index 61e2f7200..0a0230892 100644 --- a/OpenCL/m04310_a0-pure.cl +++ b/OpenCL/m04310_a0-pure.cl @@ -66,7 +66,7 @@ KERNEL_FQ void m04310_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -181,7 +181,7 @@ KERNEL_FQ void m04310_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m04310_a1-pure.cl b/OpenCL/m04310_a1-pure.cl index 8e0db955e..2ce1d1fa7 100644 --- a/OpenCL/m04310_a1-pure.cl +++ b/OpenCL/m04310_a1-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m04310_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -175,7 +175,7 @@ KERNEL_FQ void m04310_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m04310_a3-pure.cl b/OpenCL/m04310_a3-pure.cl index 1fa18591c..f291aecb6 100644 --- a/OpenCL/m04310_a3-pure.cl +++ b/OpenCL/m04310_a3-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m04310_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -71,7 +71,7 @@ KERNEL_FQ void m04310_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -188,7 +188,7 @@ KERNEL_FQ void m04310_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -197,7 +197,7 @@ KERNEL_FQ void m04310_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m04400_a3-pure.cl b/OpenCL/m04400_a3-pure.cl index 091fc60ce..213a956ef 100644 --- a/OpenCL/m04400_a3-pure.cl +++ b/OpenCL/m04400_a3-pure.cl @@ -63,7 +63,7 @@ KERNEL_FQ void m04400_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -183,7 +183,7 @@ KERNEL_FQ void m04400_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m04500_a3-pure.cl b/OpenCL/m04500_a3-pure.cl index 268e86b75..086e72121 100644 --- a/OpenCL/m04500_a3-pure.cl +++ b/OpenCL/m04500_a3-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m04500_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -182,7 +182,7 @@ KERNEL_FQ void m04500_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m04520_a3-pure.cl b/OpenCL/m04520_a3-pure.cl index 20f479c53..c1e49123c 100644 --- a/OpenCL/m04520_a3-pure.cl +++ b/OpenCL/m04520_a3-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m04520_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -199,7 +199,7 @@ KERNEL_FQ void m04520_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m04700_a3-pure.cl b/OpenCL/m04700_a3-pure.cl index 9a5fce196..29ca21e72 100644 --- a/OpenCL/m04700_a3-pure.cl +++ b/OpenCL/m04700_a3-pure.cl @@ -63,7 +63,7 @@ KERNEL_FQ void m04700_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -178,7 +178,7 @@ KERNEL_FQ void m04700_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m04800_a3-pure.cl b/OpenCL/m04800_a3-pure.cl index aa4b26b98..43284c7af 100644 --- a/OpenCL/m04800_a3-pure.cl +++ b/OpenCL/m04800_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m04800_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -118,7 +118,7 @@ KERNEL_FQ void m04800_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m04900_a0-pure.cl b/OpenCL/m04900_a0-pure.cl index e33e13272..ef31db611 100644 --- a/OpenCL/m04900_a0-pure.cl +++ b/OpenCL/m04900_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m04900_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -107,7 +107,7 @@ KERNEL_FQ void m04900_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m04900_a1-pure.cl b/OpenCL/m04900_a1-pure.cl index 7f1d1a242..acd27d749 100644 --- a/OpenCL/m04900_a1-pure.cl +++ b/OpenCL/m04900_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m04900_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -99,7 +99,7 @@ KERNEL_FQ void m04900_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m04900_a3-pure.cl b/OpenCL/m04900_a3-pure.cl index 345852597..6d6b02b9f 100644 --- a/OpenCL/m04900_a3-pure.cl +++ b/OpenCL/m04900_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m04900_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m04900_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32 (salt_bufs[salt_pos].salt_buf[idx]); } @@ -116,7 +116,7 @@ KERNEL_FQ void m04900_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -125,7 +125,7 @@ KERNEL_FQ void m04900_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32 (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m05100_a3-pure.cl b/OpenCL/m05100_a3-pure.cl index 3ba6e6712..6dcea48d1 100644 --- a/OpenCL/m05100_a3-pure.cl +++ b/OpenCL/m05100_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m05100_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -103,7 +103,7 @@ KERNEL_FQ void m05100_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m05300_a1-pure.cl b/OpenCL/m05300_a1-pure.cl index a854741b1..8aa4b80d3 100644 --- a/OpenCL/m05300_a1-pure.cl +++ b/OpenCL/m05300_a1-pure.cl @@ -42,7 +42,7 @@ KERNEL_FQ void m05300_mxx (KERN_ATTR_ESALT (ikepsk_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -153,7 +153,7 @@ KERNEL_FQ void m05300_sxx (KERN_ATTR_ESALT (ikepsk_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m05300_a3-pure.cl b/OpenCL/m05300_a3-pure.cl index 450d8b3eb..c89b6ab10 100644 --- a/OpenCL/m05300_a3-pure.cl +++ b/OpenCL/m05300_a3-pure.cl @@ -42,7 +42,7 @@ KERNEL_FQ void m05300_mxx (KERN_ATTR_VECTOR_ESALT (ikepsk_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -139,7 +139,7 @@ KERNEL_FQ void m05300_sxx (KERN_ATTR_VECTOR_ESALT (ikepsk_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m05400_a1-pure.cl b/OpenCL/m05400_a1-pure.cl index 3d649bb71..abb5cfce3 100644 --- a/OpenCL/m05400_a1-pure.cl +++ b/OpenCL/m05400_a1-pure.cl @@ -42,7 +42,7 @@ KERNEL_FQ void m05400_mxx (KERN_ATTR_ESALT (ikepsk_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -153,7 +153,7 @@ KERNEL_FQ void m05400_sxx (KERN_ATTR_ESALT (ikepsk_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } diff --git a/OpenCL/m05400_a3-pure.cl b/OpenCL/m05400_a3-pure.cl index af1773d6c..ed16f2ca9 100644 --- a/OpenCL/m05400_a3-pure.cl +++ b/OpenCL/m05400_a3-pure.cl @@ -42,7 +42,7 @@ KERNEL_FQ void m05400_mxx (KERN_ATTR_VECTOR_ESALT (ikepsk_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -139,7 +139,7 @@ KERNEL_FQ void m05400_sxx (KERN_ATTR_VECTOR_ESALT (ikepsk_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m05500_a3-pure.cl b/OpenCL/m05500_a3-pure.cl index e372b5f32..5f75abb50 100644 --- a/OpenCL/m05500_a3-pure.cl +++ b/OpenCL/m05500_a3-pure.cl @@ -557,7 +557,7 @@ KERNEL_FQ void m05500_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -704,7 +704,7 @@ KERNEL_FQ void m05500_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m05600_a3-pure.cl b/OpenCL/m05600_a3-pure.cl index 192430399..d5d48f5b7 100644 --- a/OpenCL/m05600_a3-pure.cl +++ b/OpenCL/m05600_a3-pure.cl @@ -45,7 +45,7 @@ KERNEL_FQ void m05600_mxx (KERN_ATTR_VECTOR_ESALT (netntlm_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -167,7 +167,7 @@ KERNEL_FQ void m05600_sxx (KERN_ATTR_VECTOR_ESALT (netntlm_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m05800-pure.cl b/OpenCL/m05800-pure.cl index 35e4201bf..a397ae119 100644 --- a/OpenCL/m05800-pure.cl +++ b/OpenCL/m05800-pure.cl @@ -2140,7 +2140,7 @@ KERNEL_FQ void m05800_loop (KERN_ATTR_TMPS (androidpin_tmp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -2149,7 +2149,7 @@ KERNEL_FQ void m05800_loop (KERN_ATTR_TMPS (androidpin_tmp_t)) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m06000_a3-pure.cl b/OpenCL/m06000_a3-pure.cl index c30b40113..d7bbe5a02 100644 --- a/OpenCL/m06000_a3-pure.cl +++ b/OpenCL/m06000_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m06000_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -99,7 +99,7 @@ KERNEL_FQ void m06000_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m06100_a3-pure.cl b/OpenCL/m06100_a3-pure.cl index eb1ef32da..3f2f65bfd 100644 --- a/OpenCL/m06100_a3-pure.cl +++ b/OpenCL/m06100_a3-pure.cl @@ -72,7 +72,7 @@ KERNEL_FQ void m06100_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -179,7 +179,7 @@ KERNEL_FQ void m06100_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m06300-pure.cl b/OpenCL/m06300-pure.cl index 12bf2ee12..360f2e4e9 100644 --- a/OpenCL/m06300-pure.cl +++ b/OpenCL/m06300-pure.cl @@ -39,7 +39,7 @@ KERNEL_FQ void m06300_init (KERN_ATTR_TMPS (md5crypt_tmp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -48,7 +48,7 @@ KERNEL_FQ void m06300_init (KERN_ATTR_TMPS (md5crypt_tmp_t)) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } @@ -139,7 +139,7 @@ KERNEL_FQ void m06300_loop (KERN_ATTR_TMPS (md5crypt_tmp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -148,7 +148,7 @@ KERNEL_FQ void m06300_loop (KERN_ATTR_TMPS (md5crypt_tmp_t)) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } diff --git a/OpenCL/m07000_a3-pure.cl b/OpenCL/m07000_a3-pure.cl index c3fc7752a..52852d473 100644 --- a/OpenCL/m07000_a3-pure.cl +++ b/OpenCL/m07000_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m07000_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -133,7 +133,7 @@ KERNEL_FQ void m07000_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m07300_a1-pure.cl b/OpenCL/m07300_a1-pure.cl index d2f7a4fbe..26bf80185 100644 --- a/OpenCL/m07300_a1-pure.cl +++ b/OpenCL/m07300_a1-pure.cl @@ -39,7 +39,7 @@ KERNEL_FQ void m07300_mxx (KERN_ATTR_ESALT (rakp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -120,7 +120,7 @@ KERNEL_FQ void m07300_sxx (KERN_ATTR_ESALT (rakp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } diff --git a/OpenCL/m07300_a3-pure.cl b/OpenCL/m07300_a3-pure.cl index 46237c1ee..bfdf6824c 100644 --- a/OpenCL/m07300_a3-pure.cl +++ b/OpenCL/m07300_a3-pure.cl @@ -39,7 +39,7 @@ KERNEL_FQ void m07300_mxx (KERN_ATTR_VECTOR_ESALT (rakp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -106,7 +106,7 @@ KERNEL_FQ void m07300_sxx (KERN_ATTR_VECTOR_ESALT (rakp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m07400-pure.cl b/OpenCL/m07400-pure.cl index 1cacc18c2..b822dbdad 100644 --- a/OpenCL/m07400-pure.cl +++ b/OpenCL/m07400-pure.cl @@ -41,12 +41,12 @@ KERNEL_FQ void m07400_init (KERN_ATTR_TMPS (sha256crypt_tmp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (w[idx]); } @@ -55,12 +55,12 @@ KERNEL_FQ void m07400_init (KERN_ATTR_TMPS (sha256crypt_tmp_t)) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = salt_bufs[salt_pos].salt_buf[idx]; } - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (s[idx]); } diff --git a/OpenCL/m07500_a3-pure.cl b/OpenCL/m07500_a3-pure.cl index 05abf4fa8..20954bd8b 100644 --- a/OpenCL/m07500_a3-pure.cl +++ b/OpenCL/m07500_a3-pure.cl @@ -307,7 +307,7 @@ KERNEL_FQ void m07500_mxx (KERN_ATTR_VECTOR_ESALT (krb5pa_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -401,7 +401,7 @@ KERNEL_FQ void m07500_sxx (KERN_ATTR_VECTOR_ESALT (krb5pa_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m08100_a3-pure.cl b/OpenCL/m08100_a3-pure.cl index 0e1e2e7ba..2582bc358 100644 --- a/OpenCL/m08100_a3-pure.cl +++ b/OpenCL/m08100_a3-pure.cl @@ -34,7 +34,7 @@ KERNEL_FQ void m08100_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -111,7 +111,7 @@ KERNEL_FQ void m08100_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m08300_a0-pure.cl b/OpenCL/m08300_a0-pure.cl index 564ada62a..c0dfc084b 100644 --- a/OpenCL/m08300_a0-pure.cl +++ b/OpenCL/m08300_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m08300_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -155,7 +155,7 @@ KERNEL_FQ void m08300_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m08300_a1-pure.cl b/OpenCL/m08300_a1-pure.cl index e8a1b59ba..9958fc4e8 100644 --- a/OpenCL/m08300_a1-pure.cl +++ b/OpenCL/m08300_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m08300_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -147,7 +147,7 @@ KERNEL_FQ void m08300_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m08300_a3-pure.cl b/OpenCL/m08300_a3-pure.cl index c99db5bf8..cac746e6d 100644 --- a/OpenCL/m08300_a3-pure.cl +++ b/OpenCL/m08300_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m08300_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m08300_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32 (salt_bufs[salt_pos].salt_buf[idx]); } @@ -162,7 +162,7 @@ KERNEL_FQ void m08300_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -171,7 +171,7 @@ KERNEL_FQ void m08300_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32 (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m08400_a3-pure.cl b/OpenCL/m08400_a3-pure.cl index e5243270d..47847863c 100644 --- a/OpenCL/m08400_a3-pure.cl +++ b/OpenCL/m08400_a3-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m08400_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -240,7 +240,7 @@ KERNEL_FQ void m08400_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m09900_a3-pure.cl b/OpenCL/m09900_a3-pure.cl index bb8f174e8..4cad825f4 100644 --- a/OpenCL/m09900_a3-pure.cl +++ b/OpenCL/m09900_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m09900_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -99,7 +99,7 @@ KERNEL_FQ void m09900_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m10700-pure.cl b/OpenCL/m10700-pure.cl index bc15f2848..f07f09b1c 100644 --- a/OpenCL/m10700-pure.cl +++ b/OpenCL/m10700-pure.cl @@ -1231,7 +1231,7 @@ KERNEL_FQ void m10700_loop (KERN_ATTR_TMPS_ESALT (pdf17l8_tmp_t, pdf_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } diff --git a/OpenCL/m10800_a3-pure.cl b/OpenCL/m10800_a3-pure.cl index 0ee6ca2b4..940e5a61c 100644 --- a/OpenCL/m10800_a3-pure.cl +++ b/OpenCL/m10800_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m10800_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -99,7 +99,7 @@ KERNEL_FQ void m10800_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m11000_a3-pure.cl b/OpenCL/m11000_a3-pure.cl index e815aa209..63c36625c 100644 --- a/OpenCL/m11000_a3-pure.cl +++ b/OpenCL/m11000_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m11000_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -105,7 +105,7 @@ KERNEL_FQ void m11000_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m11100_a3-pure.cl b/OpenCL/m11100_a3-pure.cl index 5835990cd..a9e172740 100644 --- a/OpenCL/m11100_a3-pure.cl +++ b/OpenCL/m11100_a3-pure.cl @@ -84,7 +84,7 @@ KERNEL_FQ void m11100_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -283,7 +283,7 @@ KERNEL_FQ void m11100_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m11200_a3-pure.cl b/OpenCL/m11200_a3-pure.cl index b4c321c18..7d9a898b8 100644 --- a/OpenCL/m11200_a3-pure.cl +++ b/OpenCL/m11200_a3-pure.cl @@ -44,7 +44,7 @@ KERNEL_FQ void m11200_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -185,7 +185,7 @@ KERNEL_FQ void m11200_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m11700_a3-pure.cl b/OpenCL/m11700_a3-pure.cl index 84fe6a558..f9c46a0a0 100644 --- a/OpenCL/m11700_a3-pure.cl +++ b/OpenCL/m11700_a3-pure.cl @@ -61,7 +61,7 @@ KERNEL_FQ void m11700_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -157,7 +157,7 @@ KERNEL_FQ void m11700_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m11750_a0-pure.cl b/OpenCL/m11750_a0-pure.cl index 8b05f453c..b137b20c6 100644 --- a/OpenCL/m11750_a0-pure.cl +++ b/OpenCL/m11750_a0-pure.cl @@ -65,7 +65,7 @@ KERNEL_FQ void m11750_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -159,7 +159,7 @@ KERNEL_FQ void m11750_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m11760_a0-pure.cl b/OpenCL/m11760_a0-pure.cl index 3476cdbde..3b6f2eebe 100644 --- a/OpenCL/m11760_a0-pure.cl +++ b/OpenCL/m11760_a0-pure.cl @@ -65,7 +65,7 @@ KERNEL_FQ void m11760_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -161,7 +161,7 @@ KERNEL_FQ void m11760_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m11800_a3-pure.cl b/OpenCL/m11800_a3-pure.cl index d4d0b8a4e..2f1f4d47e 100644 --- a/OpenCL/m11800_a3-pure.cl +++ b/OpenCL/m11800_a3-pure.cl @@ -61,7 +61,7 @@ KERNEL_FQ void m11800_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -157,7 +157,7 @@ KERNEL_FQ void m11800_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m11850_a0-pure.cl b/OpenCL/m11850_a0-pure.cl index 660dbae90..7054e243b 100644 --- a/OpenCL/m11850_a0-pure.cl +++ b/OpenCL/m11850_a0-pure.cl @@ -65,7 +65,7 @@ KERNEL_FQ void m11850_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -159,7 +159,7 @@ KERNEL_FQ void m11850_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m11860_a0-pure.cl b/OpenCL/m11860_a0-pure.cl index 0dc9406c5..6cc900254 100644 --- a/OpenCL/m11860_a0-pure.cl +++ b/OpenCL/m11860_a0-pure.cl @@ -65,7 +65,7 @@ KERNEL_FQ void m11860_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -161,7 +161,7 @@ KERNEL_FQ void m11860_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m12400-pure.cl b/OpenCL/m12400-pure.cl index 241c0d2af..3eef790cb 100644 --- a/OpenCL/m12400-pure.cl +++ b/OpenCL/m12400-pure.cl @@ -546,7 +546,7 @@ KERNEL_FQ void m12400_init (KERN_ATTR_TMPS (bsdicrypt_tmp_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m12600_a3-pure.cl b/OpenCL/m12600_a3-pure.cl index 4299f28fc..d0e80b99f 100644 --- a/OpenCL/m12600_a3-pure.cl +++ b/OpenCL/m12600_a3-pure.cl @@ -78,7 +78,7 @@ KERNEL_FQ void m12600_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -237,7 +237,7 @@ KERNEL_FQ void m12600_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m13100_a3-pure.cl b/OpenCL/m13100_a3-pure.cl index 44918051b..5ceca655c 100644 --- a/OpenCL/m13100_a3-pure.cl +++ b/OpenCL/m13100_a3-pure.cl @@ -403,7 +403,7 @@ KERNEL_FQ void m13100_mxx (KERN_ATTR_VECTOR_ESALT (krb5tgs_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -476,7 +476,7 @@ KERNEL_FQ void m13100_sxx (KERN_ATTR_VECTOR_ESALT (krb5tgs_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m13300_a3-pure.cl b/OpenCL/m13300_a3-pure.cl index 734d897f0..4657b5eb0 100644 --- a/OpenCL/m13300_a3-pure.cl +++ b/OpenCL/m13300_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m13300_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -101,7 +101,7 @@ KERNEL_FQ void m13300_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m13500_a3-pure.cl b/OpenCL/m13500_a3-pure.cl index 73f19f7b9..8c0cf3d5d 100644 --- a/OpenCL/m13500_a3-pure.cl +++ b/OpenCL/m13500_a3-pure.cl @@ -75,7 +75,7 @@ KERNEL_FQ void m13500_mxx (KERN_ATTR_VECTOR_ESALT (pstoken_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -175,7 +175,7 @@ KERNEL_FQ void m13500_sxx (KERN_ATTR_VECTOR_ESALT (pstoken_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m13800_a3-pure.cl b/OpenCL/m13800_a3-pure.cl index 0a0ca4277..cd2877406 100644 --- a/OpenCL/m13800_a3-pure.cl +++ b/OpenCL/m13800_a3-pure.cl @@ -38,7 +38,7 @@ KERNEL_FQ void m13800_mxx (KERN_ATTR_VECTOR_ESALT (win8phone_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -47,7 +47,7 @@ KERNEL_FQ void m13800_mxx (KERN_ATTR_VECTOR_ESALT (win8phone_t)) u32x s[32]; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = esalt_bufs[digests_offset].salt_buf[idx]; } @@ -116,7 +116,7 @@ KERNEL_FQ void m13800_sxx (KERN_ATTR_VECTOR_ESALT (win8phone_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -125,7 +125,7 @@ KERNEL_FQ void m13800_sxx (KERN_ATTR_VECTOR_ESALT (win8phone_t)) u32x s[32]; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = esalt_bufs[digests_offset].salt_buf[idx]; } diff --git a/OpenCL/m13900_a3-pure.cl b/OpenCL/m13900_a3-pure.cl index 3dbea052f..b0e85397d 100644 --- a/OpenCL/m13900_a3-pure.cl +++ b/OpenCL/m13900_a3-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m13900_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -240,7 +240,7 @@ KERNEL_FQ void m13900_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m14400_a3-pure.cl b/OpenCL/m14400_a3-pure.cl index 6df4818c8..7976d7bc5 100644 --- a/OpenCL/m14400_a3-pure.cl +++ b/OpenCL/m14400_a3-pure.cl @@ -62,7 +62,7 @@ KERNEL_FQ void m14400_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -344,7 +344,7 @@ KERNEL_FQ void m14400_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m15000_a0-pure.cl b/OpenCL/m15000_a0-pure.cl index 1f4e74a63..eacbad4d3 100644 --- a/OpenCL/m15000_a0-pure.cl +++ b/OpenCL/m15000_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m15000_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -103,7 +103,7 @@ KERNEL_FQ void m15000_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m15000_a1-pure.cl b/OpenCL/m15000_a1-pure.cl index 4a24f357b..54a3c6d98 100644 --- a/OpenCL/m15000_a1-pure.cl +++ b/OpenCL/m15000_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m15000_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -97,7 +97,7 @@ KERNEL_FQ void m15000_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m15000_a3-pure.cl b/OpenCL/m15000_a3-pure.cl index d78d029b6..a15aa67d6 100644 --- a/OpenCL/m15000_a3-pure.cl +++ b/OpenCL/m15000_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m15000_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m15000_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -110,7 +110,7 @@ KERNEL_FQ void m15000_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -119,7 +119,7 @@ KERNEL_FQ void m15000_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m15500_a0-pure.cl b/OpenCL/m15500_a0-pure.cl index 67aad1fe8..eb39484fe 100644 --- a/OpenCL/m15500_a0-pure.cl +++ b/OpenCL/m15500_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m15500_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -109,7 +109,7 @@ KERNEL_FQ void m15500_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m15500_a1-pure.cl b/OpenCL/m15500_a1-pure.cl index 964227c3a..f6555c5e0 100644 --- a/OpenCL/m15500_a1-pure.cl +++ b/OpenCL/m15500_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m15500_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -103,7 +103,7 @@ KERNEL_FQ void m15500_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m15500_a3-pure.cl b/OpenCL/m15500_a3-pure.cl index bb269cbe1..7c35074be 100644 --- a/OpenCL/m15500_a3-pure.cl +++ b/OpenCL/m15500_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m15500_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m15500_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -116,7 +116,7 @@ KERNEL_FQ void m15500_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -125,7 +125,7 @@ KERNEL_FQ void m15500_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m16100_a3-pure.cl b/OpenCL/m16100_a3-pure.cl index b56106574..3dfb0cc98 100644 --- a/OpenCL/m16100_a3-pure.cl +++ b/OpenCL/m16100_a3-pure.cl @@ -42,7 +42,7 @@ KERNEL_FQ void m16100_mxx (KERN_ATTR_VECTOR_ESALT (tacacs_plus_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -217,7 +217,7 @@ KERNEL_FQ void m16100_sxx (KERN_ATTR_VECTOR_ESALT (tacacs_plus_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m16400_a3-pure.cl b/OpenCL/m16400_a3-pure.cl index 095e484e6..f7023e0aa 100644 --- a/OpenCL/m16400_a3-pure.cl +++ b/OpenCL/m16400_a3-pure.cl @@ -195,7 +195,7 @@ KERNEL_FQ void m16400_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -262,7 +262,7 @@ KERNEL_FQ void m16400_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m16511_a1-pure.cl b/OpenCL/m16511_a1-pure.cl index 4479598e3..9d566b93c 100644 --- a/OpenCL/m16511_a1-pure.cl +++ b/OpenCL/m16511_a1-pure.cl @@ -41,7 +41,7 @@ KERNEL_FQ void m16511_mxx (KERN_ATTR_ESALT (jwt_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -122,7 +122,7 @@ KERNEL_FQ void m16511_sxx (KERN_ATTR_ESALT (jwt_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } diff --git a/OpenCL/m16511_a3-pure.cl b/OpenCL/m16511_a3-pure.cl index df4378cad..08841d710 100644 --- a/OpenCL/m16511_a3-pure.cl +++ b/OpenCL/m16511_a3-pure.cl @@ -41,7 +41,7 @@ KERNEL_FQ void m16511_mxx (KERN_ATTR_VECTOR_ESALT (jwt_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -108,7 +108,7 @@ KERNEL_FQ void m16511_sxx (KERN_ATTR_VECTOR_ESALT (jwt_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m16512_a1-pure.cl b/OpenCL/m16512_a1-pure.cl index 2a63045a1..14e88469b 100644 --- a/OpenCL/m16512_a1-pure.cl +++ b/OpenCL/m16512_a1-pure.cl @@ -41,7 +41,7 @@ KERNEL_FQ void m16512_mxx (KERN_ATTR_ESALT (jwt_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -122,7 +122,7 @@ KERNEL_FQ void m16512_sxx (KERN_ATTR_ESALT (jwt_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } diff --git a/OpenCL/m16512_a3-pure.cl b/OpenCL/m16512_a3-pure.cl index d60e618c1..8b1ff6baf 100644 --- a/OpenCL/m16512_a3-pure.cl +++ b/OpenCL/m16512_a3-pure.cl @@ -41,7 +41,7 @@ KERNEL_FQ void m16512_mxx (KERN_ATTR_VECTOR_ESALT (jwt_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -108,7 +108,7 @@ KERNEL_FQ void m16512_sxx (KERN_ATTR_VECTOR_ESALT (jwt_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m16513_a1-pure.cl b/OpenCL/m16513_a1-pure.cl index 62686a88a..c064f5d45 100644 --- a/OpenCL/m16513_a1-pure.cl +++ b/OpenCL/m16513_a1-pure.cl @@ -41,7 +41,7 @@ KERNEL_FQ void m16513_mxx (KERN_ATTR_ESALT (jwt_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -122,7 +122,7 @@ KERNEL_FQ void m16513_sxx (KERN_ATTR_ESALT (jwt_t)) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } diff --git a/OpenCL/m16513_a3-pure.cl b/OpenCL/m16513_a3-pure.cl index b46a2e1c8..476dd6a3d 100644 --- a/OpenCL/m16513_a3-pure.cl +++ b/OpenCL/m16513_a3-pure.cl @@ -41,7 +41,7 @@ KERNEL_FQ void m16513_mxx (KERN_ATTR_VECTOR_ESALT (jwt_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -108,7 +108,7 @@ KERNEL_FQ void m16513_sxx (KERN_ATTR_VECTOR_ESALT (jwt_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m16600_a3-pure.cl b/OpenCL/m16600_a3-pure.cl index f7b91ff77..7a68e1ff2 100644 --- a/OpenCL/m16600_a3-pure.cl +++ b/OpenCL/m16600_a3-pure.cl @@ -93,7 +93,7 @@ KERNEL_FQ void m16600_mxx (KERN_ATTR_VECTOR_ESALT (electrum_wallet_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -295,7 +295,7 @@ KERNEL_FQ void m16600_sxx (KERN_ATTR_VECTOR_ESALT (electrum_wallet_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m18100_a0-pure.cl b/OpenCL/m18100_a0-pure.cl index 959ca6d82..d22b3bade 100644 --- a/OpenCL/m18100_a0-pure.cl +++ b/OpenCL/m18100_a0-pure.cl @@ -36,7 +36,7 @@ KERNEL_FQ void m18100_mxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -125,7 +125,7 @@ KERNEL_FQ void m18100_sxx (KERN_ATTR_RULES ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m18100_a1-pure.cl b/OpenCL/m18100_a1-pure.cl index 6565f7a2b..223cbece0 100644 --- a/OpenCL/m18100_a1-pure.cl +++ b/OpenCL/m18100_a1-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m18100_mxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -41,7 +41,7 @@ KERNEL_FQ void m18100_mxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -146,7 +146,7 @@ KERNEL_FQ void m18100_sxx (KERN_ATTR_BASIC ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = hc_swap32_S (pws[gid].i[idx]); } @@ -155,7 +155,7 @@ KERNEL_FQ void m18100_sxx (KERN_ATTR_BASIC ()) u32 s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m18100_a3-pure.cl b/OpenCL/m18100_a3-pure.cl index 485810da4..be4805773 100644 --- a/OpenCL/m18100_a3-pure.cl +++ b/OpenCL/m18100_a3-pure.cl @@ -32,7 +32,7 @@ KERNEL_FQ void m18100_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -41,7 +41,7 @@ KERNEL_FQ void m18100_mxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } @@ -133,7 +133,7 @@ KERNEL_FQ void m18100_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -142,7 +142,7 @@ KERNEL_FQ void m18100_sxx (KERN_ATTR_VECTOR ()) u32x s[64] = { 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (salt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m18200_a3-pure.cl b/OpenCL/m18200_a3-pure.cl index 22108f2a7..9493d5554 100644 --- a/OpenCL/m18200_a3-pure.cl +++ b/OpenCL/m18200_a3-pure.cl @@ -401,7 +401,7 @@ KERNEL_FQ void m18200_mxx (KERN_ATTR_VECTOR_ESALT (krb5asrep_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -474,7 +474,7 @@ KERNEL_FQ void m18200_sxx (KERN_ATTR_VECTOR_ESALT (krb5asrep_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m18500_a3-pure.cl b/OpenCL/m18500_a3-pure.cl index 7b0625d60..46f8624f7 100644 --- a/OpenCL/m18500_a3-pure.cl +++ b/OpenCL/m18500_a3-pure.cl @@ -59,7 +59,7 @@ KERNEL_FQ void m18500_mxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -198,7 +198,7 @@ KERNEL_FQ void m18500_sxx (KERN_ATTR_VECTOR ()) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m18700_a3-pure.cl b/OpenCL/m18700_a3-pure.cl index 8fe48ef41..6e250616b 100644 --- a/OpenCL/m18700_a3-pure.cl +++ b/OpenCL/m18700_a3-pure.cl @@ -88,7 +88,7 @@ KERNEL_FQ void m18700_mxx (KERN_ATTR_VECTOR ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -147,7 +147,7 @@ KERNEL_FQ void m18700_sxx (KERN_ATTR_VECTOR ()) u32 w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m19300_a3-pure.cl b/OpenCL/m19300_a3-pure.cl index faedbb8ed..4b65dd687 100644 --- a/OpenCL/m19300_a3-pure.cl +++ b/OpenCL/m19300_a3-pure.cl @@ -42,7 +42,7 @@ KERNEL_FQ void m19300_mxx (KERN_ATTR_VECTOR_ESALT (sha1_double_salt_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -129,7 +129,7 @@ KERNEL_FQ void m19300_sxx (KERN_ATTR_VECTOR_ESALT (sha1_double_salt_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } diff --git a/OpenCL/m19500_a0-pure.cl b/OpenCL/m19500_a0-pure.cl index 1c215bc16..9ec4dafb1 100644 --- a/OpenCL/m19500_a0-pure.cl +++ b/OpenCL/m19500_a0-pure.cl @@ -81,7 +81,7 @@ KERNEL_FQ void m19500_mxx (KERN_ATTR_RULES_ESALT (devise_hash_t)) const u32 glue[16] = { 0x2d2d0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (esalt_bufs[salt_pos].salt_buf[idx]); } @@ -228,7 +228,7 @@ KERNEL_FQ void m19500_sxx (KERN_ATTR_RULES_ESALT (devise_hash_t)) const u32 glue[16] = { 0x2d2d0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (esalt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m19500_a1-pure.cl b/OpenCL/m19500_a1-pure.cl index f472b3de1..9760a360a 100644 --- a/OpenCL/m19500_a1-pure.cl +++ b/OpenCL/m19500_a1-pure.cl @@ -77,7 +77,7 @@ KERNEL_FQ void m19500_mxx (KERN_ATTR_ESALT (devise_hash_t)) const u32 glue[16] = { 0x2d2d0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (esalt_bufs[salt_pos].salt_buf[idx]); } @@ -220,7 +220,7 @@ KERNEL_FQ void m19500_sxx (KERN_ATTR_ESALT (devise_hash_t)) const u32 glue[16] = { 0x2d2d0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (esalt_bufs[salt_pos].salt_buf[idx]); } diff --git a/OpenCL/m19500_a3-pure.cl b/OpenCL/m19500_a3-pure.cl index a5db6484c..3900c5ff9 100644 --- a/OpenCL/m19500_a3-pure.cl +++ b/OpenCL/m19500_a3-pure.cl @@ -72,7 +72,7 @@ KERNEL_FQ void m19500_mxx (KERN_ATTR_VECTOR_ESALT (devise_hash_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -86,7 +86,7 @@ KERNEL_FQ void m19500_mxx (KERN_ATTR_VECTOR_ESALT (devise_hash_t)) const u32 glue[16] = { 0x2d2d0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (esalt_bufs[salt_pos].salt_buf[idx]); } @@ -230,7 +230,7 @@ KERNEL_FQ void m19500_sxx (KERN_ATTR_VECTOR_ESALT (devise_hash_t)) u32x w[64] = { 0 }; - for (int i = 0, idx = 0; i < pw_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < pw_len; i += 4, idx += 1) { w[idx] = pws[gid].i[idx]; } @@ -244,7 +244,7 @@ KERNEL_FQ void m19500_sxx (KERN_ATTR_VECTOR_ESALT (devise_hash_t)) const u32 glue[16] = { 0x2d2d0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; - for (int i = 0, idx = 0; i < salt_len; i += 4, idx += 1) + for (u32 i = 0, idx = 0; i < salt_len; i += 4, idx += 1) { s[idx] = hc_swap32_S (esalt_bufs[salt_pos].salt_buf[idx]); }