X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=OpenCL%2Fm06222.cl;h=2620c720103bb28ba4f17e3bc6752b764ef48fe5;hb=0b3743ce943c055e4497ea387975cc37c82bd443;hp=b74bfb4abb61d9a92e1c8a562375c7fac3b02b76;hpb=c2976785362be3ad0b8167873a1151c181bd64c9;p=hashcat.git diff --git a/OpenCL/m06222.cl b/OpenCL/m06222.cl index b74bfb4..2620c72 100644 --- a/OpenCL/m06222.cl +++ b/OpenCL/m06222.cl @@ -45,7 +45,7 @@ __constant u64 k_sha512[80] = SHA512C4c, SHA512C4d, SHA512C4e, SHA512C4f, }; -static void sha512_transform (const u64 w[16], u64 dgst[8]) +void sha512_transform (const u64 w[16], u64 dgst[8]) { u64 a = dgst[0]; u64 b = dgst[1]; @@ -131,7 +131,7 @@ static void sha512_transform (const u64 w[16], u64 dgst[8]) dgst[7] += h; } -static void hmac_run (const u64 w1[16], const u64 ipad[8], const u64 opad[8], u64 dgst[8]) +void hmac_run (const u64 w1[16], const u64 ipad[8], const u64 opad[8], u64 dgst[8]) { dgst[0] = ipad[0]; dgst[1] = ipad[1]; @@ -175,7 +175,7 @@ static void hmac_run (const u64 w1[16], const u64 ipad[8], const u64 opad[8], u6 sha512_transform (w, dgst); } -static void hmac_init (u64 w[16], u64 ipad[8], u64 opad[8]) +void hmac_init (u64 w[16], u64 ipad[8], u64 opad[8]) { w[ 0] ^= 0x3636363636363636; w[ 1] ^= 0x3636363636363636; @@ -234,7 +234,7 @@ static void hmac_init (u64 w[16], u64 ipad[8], u64 opad[8]) sha512_transform (w, opad); } -static u32 u8add (const u32 a, const u32 b) +u32 u8add (const u32 a, const u32 b) { const u32 a1 = (a >> 0) & 0xff; const u32 a2 = (a >> 8) & 0xff;