projects
/
hashcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Added inline declaration to functions from simd.c, common.c, rp.c and types_ocl...
[hashcat.git]
/
OpenCL
/
m06500.cl
diff --git
a/OpenCL/m06500.cl
b/OpenCL/m06500.cl
index
ab18fa9
..
44e4d7f
100644
(file)
--- a/
OpenCL/m06500.cl
+++ b/
OpenCL/m06500.cl
@@
-44,7
+44,7
@@
__constant u64 k_sha512[80] =
SHA512C4c, SHA512C4d, SHA512C4e, SHA512C4f,
};
SHA512C4c, SHA512C4d, SHA512C4e, SHA512C4f,
};
-static void sha512_transform (const u64 w0[4], const u64 w1[4], const u64 w2[4], const u64 w3[4], u64 digest[8])
+void sha512_transform (const u64 w0[4], const u64 w1[4], const u64 w2[4], const u64 w3[4], u64 digest[8])
{
u64 a = digest[0];
u64 b = digest[1];
{
u64 a = digest[0];
u64 b = digest[1];
@@
-130,7
+130,7
@@
static void sha512_transform (const u64 w0[4], const u64 w1[4], const u64 w2[4],
digest[7] += h;
}
digest[7] += h;
}
-static void hmac_sha512_pad (u64 w0[4], u64 w1[4], u64 w2[4], u64 w3[4], u64 ipad[8], u64 opad[8])
+void hmac_sha512_pad (u64 w0[4], u64 w1[4], u64 w2[4], u64 w3[4], u64 ipad[8], u64 opad[8])
{
w0[0] = w0[0] ^ 0x3636363636363636;
w0[1] = w0[1] ^ 0x3636363636363636;
{
w0[0] = w0[0] ^ 0x3636363636363636;
w0[1] = w0[1] ^ 0x3636363636363636;
@@
-189,7
+189,7
@@
static void hmac_sha512_pad (u64 w0[4], u64 w1[4], u64 w2[4], u64 w3[4], u64 ipa
sha512_transform (w0, w1, w2, w3, opad);
}
sha512_transform (w0, w1, w2, w3, opad);
}
-static void hmac_sha512_run (u64 w0[4], u64 w1[4], u64 w2[4], u64 w3[4], u64 ipad[8], u64 opad[8], u64 digest[8])
+void hmac_sha512_run (u64 w0[4], u64 w1[4], u64 w2[4], u64 w3[4], u64 ipad[8], u64 opad[8], u64 digest[8])
{
digest[0] = ipad[0];
digest[1] = ipad[1];
{
digest[0] = ipad[0];
digest[1] = ipad[1];