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
/
m07100.cl
diff --git
a/OpenCL/m07100.cl
b/OpenCL/m07100.cl
index
5b8fe1a
..
a9f0900
100644
(file)
--- a/
OpenCL/m07100.cl
+++ b/
OpenCL/m07100.cl
@@
-44,7
+44,7
@@
__constant u64 k_sha512[80] =
SHA512C4c, SHA512C4d, SHA512C4e, SHA512C4f,
};
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];
{
u64 a = dgst[0];
u64 b = dgst[1];
@@
-130,7
+130,7
@@
static void sha512_transform (const u64 w[16], u64 dgst[8])
dgst[7] += h;
}
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];
{
dgst[0] = ipad[0];
dgst[1] = ipad[1];
@@
-174,7
+174,7
@@
static void hmac_run (const u64 w1[16], const u64 ipad[8], const u64 opad[8], u6
sha512_transform (w, dgst);
}
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;
{
w[ 0] ^= 0x3636363636363636;
w[ 1] ^= 0x3636363636363636;