X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=OpenCL%2Fm06211.cl;h=3f6dc4a30811202b4e291e71c719577c6eaafd19;hb=0b3743ce943c055e4497ea387975cc37c82bd443;hp=5d262e5c63d5a3479d15435b7e8a146813524d99;hpb=c2976785362be3ad0b8167873a1151c181bd64c9;p=hashcat.git diff --git a/OpenCL/m06211.cl b/OpenCL/m06211.cl index 5d262e5..3f6dc4a 100644 --- a/OpenCL/m06211.cl +++ b/OpenCL/m06211.cl @@ -21,7 +21,7 @@ #include "OpenCL/kernel_twofish256.c" #include "OpenCL/kernel_serpent256.c" -static void ripemd160_transform (const u32 w[16], u32 dgst[5]) +void ripemd160_transform (const u32 w[16], u32 dgst[5]) { u32 a1 = dgst[0]; u32 b1 = dgst[1]; @@ -218,7 +218,7 @@ static void ripemd160_transform (const u32 w[16], u32 dgst[5]) dgst[4] = e; } -static void hmac_run2 (const u32 w1[16], const u32 w2[16], const u32 ipad[5], const u32 opad[5], u32 dgst[5]) +void hmac_run2 (const u32 w1[16], const u32 w2[16], const u32 ipad[5], const u32 opad[5], u32 dgst[5]) { dgst[0] = ipad[0]; dgst[1] = ipad[1]; @@ -257,7 +257,7 @@ static void hmac_run2 (const u32 w1[16], const u32 w2[16], const u32 ipad[5], co ripemd160_transform (w, dgst); } -static void hmac_run (u32 w[16], const u32 ipad[5], const u32 opad[5], u32 dgst[5]) +void hmac_run (u32 w[16], const u32 ipad[5], const u32 opad[5], u32 dgst[5]) { dgst[0] = ipad[0]; dgst[1] = ipad[1]; @@ -293,7 +293,7 @@ static void hmac_run (u32 w[16], const u32 ipad[5], const u32 opad[5], u32 dgst[ ripemd160_transform (w, dgst); } -static void hmac_init (u32 w[16], u32 ipad[5], u32 opad[5]) +void hmac_init (u32 w[16], u32 ipad[5], u32 opad[5]) { w[ 0] ^= 0x36363636; w[ 1] ^= 0x36363636; @@ -346,7 +346,7 @@ static void hmac_init (u32 w[16], u32 ipad[5], u32 opad[5]) ripemd160_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;