From 2f3171fd98dce318c2ff38e2ed47fd8f58ec97be Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 23 Jun 2017 21:30:57 -0700 Subject: [PATCH] Fix signed overflow warnings --- OpenCL/m00000_a3.cl | 16 ++++++++-------- OpenCL/m00010_a3.cl | 16 ++++++++-------- OpenCL/m00030_a3.cl | 16 ++++++++-------- OpenCL/m02400_a3.cl | 16 ++++++++-------- OpenCL/m02410_a3.cl | 16 ++++++++-------- OpenCL/m09900_a3.cl | 16 ++++++++-------- 6 files changed, 48 insertions(+), 48 deletions(-) diff --git a/OpenCL/m00000_a3.cl b/OpenCL/m00000_a3.cl index 75215aad9..65ca3a180 100644 --- a/OpenCL/m00000_a3.cl +++ b/OpenCL/m00000_a3.cl @@ -42,7 +42,7 @@ void m00000m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke * base */ - const u32 F_w0c00 = 0 + MD5C00; + const u32 F_w0c00 = 0u + MD5C00; const u32 F_w1c01 = w[ 1] + MD5C01; const u32 F_w2c02 = w[ 2] + MD5C02; const u32 F_w3c03 = w[ 3] + MD5C03; @@ -62,7 +62,7 @@ void m00000m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 G_w1c10 = w[ 1] + MD5C10; const u32 G_w6c11 = w[ 6] + MD5C11; const u32 G_wbc12 = w[11] + MD5C12; - const u32 G_w0c13 = 0 + MD5C13; + const u32 G_w0c13 = 0u + MD5C13; const u32 G_w5c14 = w[ 5] + MD5C14; const u32 G_wac15 = w[10] + MD5C15; const u32 G_wfc16 = w[15] + MD5C16; @@ -85,7 +85,7 @@ void m00000m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_w7c26 = w[ 7] + MD5C26; const u32 H_wac27 = w[10] + MD5C27; const u32 H_wdc28 = w[13] + MD5C28; - const u32 H_w0c29 = 0 + MD5C29; + const u32 H_w0c29 = 0u + MD5C29; const u32 H_w3c2a = w[ 3] + MD5C2a; const u32 H_w6c2b = w[ 6] + MD5C2b; const u32 H_w9c2c = w[ 9] + MD5C2c; @@ -93,7 +93,7 @@ void m00000m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_wfc2e = w[15] + MD5C2e; const u32 H_w2c2f = w[ 2] + MD5C2f; - const u32 I_w0c30 = 0 + MD5C30; + const u32 I_w0c30 = 0u + MD5C30; const u32 I_w7c31 = w[ 7] + MD5C31; const u32 I_wec32 = w[14] + MD5C32; const u32 I_w5c33 = w[ 5] + MD5C33; @@ -212,7 +212,7 @@ void m00000s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke * base */ - const u32 F_w0c00 = 0 + MD5C00; + const u32 F_w0c00 = 0u + MD5C00; const u32 F_w1c01 = w[ 1] + MD5C01; const u32 F_w2c02 = w[ 2] + MD5C02; const u32 F_w3c03 = w[ 3] + MD5C03; @@ -232,7 +232,7 @@ void m00000s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 G_w1c10 = w[ 1] + MD5C10; const u32 G_w6c11 = w[ 6] + MD5C11; const u32 G_wbc12 = w[11] + MD5C12; - const u32 G_w0c13 = 0 + MD5C13; + const u32 G_w0c13 = 0u + MD5C13; const u32 G_w5c14 = w[ 5] + MD5C14; const u32 G_wac15 = w[10] + MD5C15; const u32 G_wfc16 = w[15] + MD5C16; @@ -255,7 +255,7 @@ void m00000s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_w7c26 = w[ 7] + MD5C26; const u32 H_wac27 = w[10] + MD5C27; const u32 H_wdc28 = w[13] + MD5C28; - const u32 H_w0c29 = 0 + MD5C29; + const u32 H_w0c29 = 0u + MD5C29; const u32 H_w3c2a = w[ 3] + MD5C2a; const u32 H_w6c2b = w[ 6] + MD5C2b; const u32 H_w9c2c = w[ 9] + MD5C2c; @@ -263,7 +263,7 @@ void m00000s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_wfc2e = w[15] + MD5C2e; const u32 H_w2c2f = w[ 2] + MD5C2f; - const u32 I_w0c30 = 0 + MD5C30; + const u32 I_w0c30 = 0u + MD5C30; const u32 I_w7c31 = w[ 7] + MD5C31; const u32 I_wec32 = w[14] + MD5C32; const u32 I_w5c33 = w[ 5] + MD5C33; diff --git a/OpenCL/m00010_a3.cl b/OpenCL/m00010_a3.cl index 6778a3a1a..88d17009b 100644 --- a/OpenCL/m00010_a3.cl +++ b/OpenCL/m00010_a3.cl @@ -91,7 +91,7 @@ void m00010m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke * base */ - const u32 F_w0c00 = 0 + MD5C00; + const u32 F_w0c00 = 0u + MD5C00; const u32 F_w1c01 = w[ 1] + MD5C01; const u32 F_w2c02 = w[ 2] + MD5C02; const u32 F_w3c03 = w[ 3] + MD5C03; @@ -111,7 +111,7 @@ void m00010m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 G_w1c10 = w[ 1] + MD5C10; const u32 G_w6c11 = w[ 6] + MD5C11; const u32 G_wbc12 = w[11] + MD5C12; - const u32 G_w0c13 = 0 + MD5C13; + const u32 G_w0c13 = 0u + MD5C13; const u32 G_w5c14 = w[ 5] + MD5C14; const u32 G_wac15 = w[10] + MD5C15; const u32 G_wfc16 = w[15] + MD5C16; @@ -134,7 +134,7 @@ void m00010m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_w7c26 = w[ 7] + MD5C26; const u32 H_wac27 = w[10] + MD5C27; const u32 H_wdc28 = w[13] + MD5C28; - const u32 H_w0c29 = 0 + MD5C29; + const u32 H_w0c29 = 0u + MD5C29; const u32 H_w3c2a = w[ 3] + MD5C2a; const u32 H_w6c2b = w[ 6] + MD5C2b; const u32 H_w9c2c = w[ 9] + MD5C2c; @@ -142,7 +142,7 @@ void m00010m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_wfc2e = w[15] + MD5C2e; const u32 H_w2c2f = w[ 2] + MD5C2f; - const u32 I_w0c30 = 0 + MD5C30; + const u32 I_w0c30 = 0u + MD5C30; const u32 I_w7c31 = w[ 7] + MD5C31; const u32 I_wec32 = w[14] + MD5C32; const u32 I_w5c33 = w[ 5] + MD5C33; @@ -261,7 +261,7 @@ void m00010s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke * base */ - const u32 F_w0c00 = 0 + MD5C00; + const u32 F_w0c00 = 0u + MD5C00; const u32 F_w1c01 = w[ 1] + MD5C01; const u32 F_w2c02 = w[ 2] + MD5C02; const u32 F_w3c03 = w[ 3] + MD5C03; @@ -281,7 +281,7 @@ void m00010s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 G_w1c10 = w[ 1] + MD5C10; const u32 G_w6c11 = w[ 6] + MD5C11; const u32 G_wbc12 = w[11] + MD5C12; - const u32 G_w0c13 = 0 + MD5C13; + const u32 G_w0c13 = 0u + MD5C13; const u32 G_w5c14 = w[ 5] + MD5C14; const u32 G_wac15 = w[10] + MD5C15; const u32 G_wfc16 = w[15] + MD5C16; @@ -304,7 +304,7 @@ void m00010s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_w7c26 = w[ 7] + MD5C26; const u32 H_wac27 = w[10] + MD5C27; const u32 H_wdc28 = w[13] + MD5C28; - const u32 H_w0c29 = 0 + MD5C29; + const u32 H_w0c29 = 0u + MD5C29; const u32 H_w3c2a = w[ 3] + MD5C2a; const u32 H_w6c2b = w[ 6] + MD5C2b; const u32 H_w9c2c = w[ 9] + MD5C2c; @@ -312,7 +312,7 @@ void m00010s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_wfc2e = w[15] + MD5C2e; const u32 H_w2c2f = w[ 2] + MD5C2f; - const u32 I_w0c30 = 0 + MD5C30; + const u32 I_w0c30 = 0u + MD5C30; const u32 I_w7c31 = w[ 7] + MD5C31; const u32 I_wec32 = w[14] + MD5C32; const u32 I_w5c33 = w[ 5] + MD5C33; diff --git a/OpenCL/m00030_a3.cl b/OpenCL/m00030_a3.cl index 17e10806f..266dd0754 100644 --- a/OpenCL/m00030_a3.cl +++ b/OpenCL/m00030_a3.cl @@ -91,7 +91,7 @@ void m00030m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke * base */ - const u32 F_w0c00 = 0 + MD5C00; + const u32 F_w0c00 = 0u + MD5C00; const u32 F_w1c01 = w[ 1] + MD5C01; const u32 F_w2c02 = w[ 2] + MD5C02; const u32 F_w3c03 = w[ 3] + MD5C03; @@ -111,7 +111,7 @@ void m00030m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 G_w1c10 = w[ 1] + MD5C10; const u32 G_w6c11 = w[ 6] + MD5C11; const u32 G_wbc12 = w[11] + MD5C12; - const u32 G_w0c13 = 0 + MD5C13; + const u32 G_w0c13 = 0u + MD5C13; const u32 G_w5c14 = w[ 5] + MD5C14; const u32 G_wac15 = w[10] + MD5C15; const u32 G_wfc16 = w[15] + MD5C16; @@ -134,7 +134,7 @@ void m00030m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_w7c26 = w[ 7] + MD5C26; const u32 H_wac27 = w[10] + MD5C27; const u32 H_wdc28 = w[13] + MD5C28; - const u32 H_w0c29 = 0 + MD5C29; + const u32 H_w0c29 = 0u + MD5C29; const u32 H_w3c2a = w[ 3] + MD5C2a; const u32 H_w6c2b = w[ 6] + MD5C2b; const u32 H_w9c2c = w[ 9] + MD5C2c; @@ -142,7 +142,7 @@ void m00030m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_wfc2e = w[15] + MD5C2e; const u32 H_w2c2f = w[ 2] + MD5C2f; - const u32 I_w0c30 = 0 + MD5C30; + const u32 I_w0c30 = 0u + MD5C30; const u32 I_w7c31 = w[ 7] + MD5C31; const u32 I_wec32 = w[14] + MD5C32; const u32 I_w5c33 = w[ 5] + MD5C33; @@ -261,7 +261,7 @@ void m00030s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke * base */ - const u32 F_w0c00 = 0 + MD5C00; + const u32 F_w0c00 = 0u + MD5C00; const u32 F_w1c01 = w[ 1] + MD5C01; const u32 F_w2c02 = w[ 2] + MD5C02; const u32 F_w3c03 = w[ 3] + MD5C03; @@ -281,7 +281,7 @@ void m00030s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 G_w1c10 = w[ 1] + MD5C10; const u32 G_w6c11 = w[ 6] + MD5C11; const u32 G_wbc12 = w[11] + MD5C12; - const u32 G_w0c13 = 0 + MD5C13; + const u32 G_w0c13 = 0u + MD5C13; const u32 G_w5c14 = w[ 5] + MD5C14; const u32 G_wac15 = w[10] + MD5C15; const u32 G_wfc16 = w[15] + MD5C16; @@ -304,7 +304,7 @@ void m00030s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_w7c26 = w[ 7] + MD5C26; const u32 H_wac27 = w[10] + MD5C27; const u32 H_wdc28 = w[13] + MD5C28; - const u32 H_w0c29 = 0 + MD5C29; + const u32 H_w0c29 = 0u + MD5C29; const u32 H_w3c2a = w[ 3] + MD5C2a; const u32 H_w6c2b = w[ 6] + MD5C2b; const u32 H_w9c2c = w[ 9] + MD5C2c; @@ -312,7 +312,7 @@ void m00030s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_wfc2e = w[15] + MD5C2e; const u32 H_w2c2f = w[ 2] + MD5C2f; - const u32 I_w0c30 = 0 + MD5C30; + const u32 I_w0c30 = 0u + MD5C30; const u32 I_w7c31 = w[ 7] + MD5C31; const u32 I_wec32 = w[14] + MD5C32; const u32 I_w5c33 = w[ 5] + MD5C33; diff --git a/OpenCL/m02400_a3.cl b/OpenCL/m02400_a3.cl index 6ccbba269..980b2c83d 100644 --- a/OpenCL/m02400_a3.cl +++ b/OpenCL/m02400_a3.cl @@ -42,7 +42,7 @@ void m02400m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke * base */ - const u32 F_w0c00 = 0 + MD5C00; + const u32 F_w0c00 = 0u + MD5C00; const u32 F_w1c01 = w[ 1] + MD5C01; const u32 F_w2c02 = w[ 2] + MD5C02; const u32 F_w3c03 = w[ 3] + MD5C03; @@ -62,7 +62,7 @@ void m02400m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 G_w1c10 = w[ 1] + MD5C10; const u32 G_w6c11 = w[ 6] + MD5C11; const u32 G_wbc12 = w[11] + MD5C12; - const u32 G_w0c13 = 0 + MD5C13; + const u32 G_w0c13 = 0u + MD5C13; const u32 G_w5c14 = w[ 5] + MD5C14; const u32 G_wac15 = w[10] + MD5C15; const u32 G_wfc16 = w[15] + MD5C16; @@ -85,7 +85,7 @@ void m02400m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_w7c26 = w[ 7] + MD5C26; const u32 H_wac27 = w[10] + MD5C27; const u32 H_wdc28 = w[13] + MD5C28; - const u32 H_w0c29 = 0 + MD5C29; + const u32 H_w0c29 = 0u + MD5C29; const u32 H_w3c2a = w[ 3] + MD5C2a; const u32 H_w6c2b = w[ 6] + MD5C2b; const u32 H_w9c2c = w[ 9] + MD5C2c; @@ -93,7 +93,7 @@ void m02400m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_wfc2e = w[15] + MD5C2e; const u32 H_w2c2f = w[ 2] + MD5C2f; - const u32 I_w0c30 = 0 + MD5C30; + const u32 I_w0c30 = 0u + MD5C30; const u32 I_w7c31 = w[ 7] + MD5C31; const u32 I_wec32 = w[14] + MD5C32; const u32 I_w5c33 = w[ 5] + MD5C33; @@ -234,7 +234,7 @@ void m02400s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke * base */ - const u32 F_w0c00 = 0 + MD5C00; + const u32 F_w0c00 = 0u + MD5C00; const u32 F_w1c01 = w[ 1] + MD5C01; const u32 F_w2c02 = w[ 2] + MD5C02; const u32 F_w3c03 = w[ 3] + MD5C03; @@ -254,7 +254,7 @@ void m02400s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 G_w1c10 = w[ 1] + MD5C10; const u32 G_w6c11 = w[ 6] + MD5C11; const u32 G_wbc12 = w[11] + MD5C12; - const u32 G_w0c13 = 0 + MD5C13; + const u32 G_w0c13 = 0u + MD5C13; const u32 G_w5c14 = w[ 5] + MD5C14; const u32 G_wac15 = w[10] + MD5C15; const u32 G_wfc16 = w[15] + MD5C16; @@ -277,7 +277,7 @@ void m02400s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_w7c26 = w[ 7] + MD5C26; const u32 H_wac27 = w[10] + MD5C27; const u32 H_wdc28 = w[13] + MD5C28; - const u32 H_w0c29 = 0 + MD5C29; + const u32 H_w0c29 = 0u + MD5C29; const u32 H_w3c2a = w[ 3] + MD5C2a; const u32 H_w6c2b = w[ 6] + MD5C2b; const u32 H_w9c2c = w[ 9] + MD5C2c; @@ -285,7 +285,7 @@ void m02400s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_wfc2e = w[15] + MD5C2e; const u32 H_w2c2f = w[ 2] + MD5C2f; - const u32 I_w0c30 = 0 + MD5C30; + const u32 I_w0c30 = 0u + MD5C30; const u32 I_w7c31 = w[ 7] + MD5C31; const u32 I_wec32 = w[14] + MD5C32; const u32 I_w5c33 = w[ 5] + MD5C33; diff --git a/OpenCL/m02410_a3.cl b/OpenCL/m02410_a3.cl index 0bab2dbad..41c6675f2 100644 --- a/OpenCL/m02410_a3.cl +++ b/OpenCL/m02410_a3.cl @@ -87,7 +87,7 @@ void m02410m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke * base */ - const u32 F_w0c00 = 0 + MD5C00; + const u32 F_w0c00 = 0u + MD5C00; const u32 F_w1c01 = w[ 1] + MD5C01; const u32 F_w2c02 = w[ 2] + MD5C02; const u32 F_w3c03 = w[ 3] + MD5C03; @@ -107,7 +107,7 @@ void m02410m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 G_w1c10 = w[ 1] + MD5C10; const u32 G_w6c11 = w[ 6] + MD5C11; const u32 G_wbc12 = w[11] + MD5C12; - const u32 G_w0c13 = 0 + MD5C13; + const u32 G_w0c13 = 0u + MD5C13; const u32 G_w5c14 = w[ 5] + MD5C14; const u32 G_wac15 = w[10] + MD5C15; const u32 G_wfc16 = w[15] + MD5C16; @@ -130,7 +130,7 @@ void m02410m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_w7c26 = w[ 7] + MD5C26; const u32 H_wac27 = w[10] + MD5C27; const u32 H_wdc28 = w[13] + MD5C28; - const u32 H_w0c29 = 0 + MD5C29; + const u32 H_w0c29 = 0u + MD5C29; const u32 H_w3c2a = w[ 3] + MD5C2a; const u32 H_w6c2b = w[ 6] + MD5C2b; const u32 H_w9c2c = w[ 9] + MD5C2c; @@ -138,7 +138,7 @@ void m02410m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_wfc2e = w[15] + MD5C2e; const u32 H_w2c2f = w[ 2] + MD5C2f; - const u32 I_w0c30 = 0 + MD5C30; + const u32 I_w0c30 = 0u + MD5C30; const u32 I_w7c31 = w[ 7] + MD5C31; const u32 I_wec32 = w[14] + MD5C32; const u32 I_w5c33 = w[ 5] + MD5C33; @@ -324,7 +324,7 @@ void m02410s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke * base */ - const u32 F_w0c00 = 0 + MD5C00; + const u32 F_w0c00 = 0u + MD5C00; const u32 F_w1c01 = w[ 1] + MD5C01; const u32 F_w2c02 = w[ 2] + MD5C02; const u32 F_w3c03 = w[ 3] + MD5C03; @@ -344,7 +344,7 @@ void m02410s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 G_w1c10 = w[ 1] + MD5C10; const u32 G_w6c11 = w[ 6] + MD5C11; const u32 G_wbc12 = w[11] + MD5C12; - const u32 G_w0c13 = 0 + MD5C13; + const u32 G_w0c13 = 0u + MD5C13; const u32 G_w5c14 = w[ 5] + MD5C14; const u32 G_wac15 = w[10] + MD5C15; const u32 G_wfc16 = w[15] + MD5C16; @@ -367,7 +367,7 @@ void m02410s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_w7c26 = w[ 7] + MD5C26; const u32 H_wac27 = w[10] + MD5C27; const u32 H_wdc28 = w[13] + MD5C28; - const u32 H_w0c29 = 0 + MD5C29; + const u32 H_w0c29 = 0u + MD5C29; const u32 H_w3c2a = w[ 3] + MD5C2a; const u32 H_w6c2b = w[ 6] + MD5C2b; const u32 H_w9c2c = w[ 9] + MD5C2c; @@ -375,7 +375,7 @@ void m02410s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_wfc2e = w[15] + MD5C2e; const u32 H_w2c2f = w[ 2] + MD5C2f; - const u32 I_w0c30 = 0 + MD5C30; + const u32 I_w0c30 = 0u + MD5C30; const u32 I_w7c31 = w[ 7] + MD5C31; const u32 I_wec32 = w[14] + MD5C32; const u32 I_w5c33 = w[ 5] + MD5C33; diff --git a/OpenCL/m09900_a3.cl b/OpenCL/m09900_a3.cl index a95ed24c4..e5fc39f06 100644 --- a/OpenCL/m09900_a3.cl +++ b/OpenCL/m09900_a3.cl @@ -25,7 +25,7 @@ void m09900m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke * base */ - const u32 F_w0c00 = 0 + MD5C00; + const u32 F_w0c00 = 0u + MD5C00; const u32 F_w1c01 = w[ 1] + MD5C01; const u32 F_w2c02 = w[ 2] + MD5C02; const u32 F_w3c03 = w[ 3] + MD5C03; @@ -45,7 +45,7 @@ void m09900m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 G_w1c10 = w[ 1] + MD5C10; const u32 G_w6c11 = w[ 6] + MD5C11; const u32 G_wbc12 = w[11] + MD5C12; - const u32 G_w0c13 = 0 + MD5C13; + const u32 G_w0c13 = 0u + MD5C13; const u32 G_w5c14 = w[ 5] + MD5C14; const u32 G_wac15 = w[10] + MD5C15; const u32 G_wfc16 = w[15] + MD5C16; @@ -68,7 +68,7 @@ void m09900m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_w7c26 = w[ 7] + MD5C26; const u32 H_wac27 = w[10] + MD5C27; const u32 H_wdc28 = w[13] + MD5C28; - const u32 H_w0c29 = 0 + MD5C29; + const u32 H_w0c29 = 0u + MD5C29; const u32 H_w3c2a = w[ 3] + MD5C2a; const u32 H_w6c2b = w[ 6] + MD5C2b; const u32 H_w9c2c = w[ 9] + MD5C2c; @@ -76,7 +76,7 @@ void m09900m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_wfc2e = w[15] + MD5C2e; const u32 H_w2c2f = w[ 2] + MD5C2f; - const u32 I_w0c30 = 0 + MD5C30; + const u32 I_w0c30 = 0u + MD5C30; const u32 I_w7c31 = w[ 7] + MD5C31; const u32 I_wec32 = w[14] + MD5C32; const u32 I_w5c33 = w[ 5] + MD5C33; @@ -304,7 +304,7 @@ void m09900s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke * base */ - const u32 F_w0c00 = 0 + MD5C00; + const u32 F_w0c00 = 0u + MD5C00; const u32 F_w1c01 = w[ 1] + MD5C01; const u32 F_w2c02 = w[ 2] + MD5C02; const u32 F_w3c03 = w[ 3] + MD5C03; @@ -324,7 +324,7 @@ void m09900s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 G_w1c10 = w[ 1] + MD5C10; const u32 G_w6c11 = w[ 6] + MD5C11; const u32 G_wbc12 = w[11] + MD5C12; - const u32 G_w0c13 = 0 + MD5C13; + const u32 G_w0c13 = 0u + MD5C13; const u32 G_w5c14 = w[ 5] + MD5C14; const u32 G_wac15 = w[10] + MD5C15; const u32 G_wfc16 = w[15] + MD5C16; @@ -347,7 +347,7 @@ void m09900s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_w7c26 = w[ 7] + MD5C26; const u32 H_wac27 = w[10] + MD5C27; const u32 H_wdc28 = w[13] + MD5C28; - const u32 H_w0c29 = 0 + MD5C29; + const u32 H_w0c29 = 0u + MD5C29; const u32 H_w3c2a = w[ 3] + MD5C2a; const u32 H_w6c2b = w[ 6] + MD5C2b; const u32 H_w9c2c = w[ 9] + MD5C2c; @@ -355,7 +355,7 @@ void m09900s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global const ke const u32 H_wfc2e = w[15] + MD5C2e; const u32 H_w2c2f = w[ 2] + MD5C2f; - const u32 I_w0c30 = 0 + MD5C30; + const u32 I_w0c30 = 0u + MD5C30; const u32 I_w7c31 = w[ 7] + MD5C31; const u32 I_wec32 = w[14] + MD5C32; const u32 I_w5c33 = w[ 5] + MD5C33;