Remove hard-coded static keyword from OpenCL kernels

This commit is contained in:
jsteube
2019-04-13 18:46:19 +02:00
parent 27f130ea90
commit 7c6970dbdd
347 changed files with 969 additions and 959 deletions
+3 -3
View File
@@ -15,7 +15,7 @@
#include "inc_hash_sha512.cl"
#endif
DECLSPEC static void sha512_transform_transport_vector (const u64x *w0, const u64x *w1, const u64x *w2, const u64x *w3, u64x *digest)
DECLSPEC void sha512_transform_transport_vector (const u64x *w0, const u64x *w1, const u64x *w2, const u64x *w3, u64x *digest)
{
u32x t0[4];
u32x t1[4];
@@ -62,7 +62,7 @@ DECLSPEC static void sha512_transform_transport_vector (const u64x *w0, const u6
sha512_transform_vector (t0, t1, t2, t3, t4, t5, t6, t7, digest);
}
DECLSPEC static void hmac_sha512_pad (u32x *w0, u32x *w1, u32x *w2, u32x *w3, u64x *ipad, u64x *opad)
DECLSPEC void hmac_sha512_pad (u32x *w0, u32x *w1, u32x *w2, u32x *w3, u64x *ipad, u64x *opad)
{
u64x w0_t[4];
u64x w1_t[4];
@@ -126,7 +126,7 @@ DECLSPEC static void hmac_sha512_pad (u32x *w0, u32x *w1, u32x *w2, u32x *w3, u6
sha512_transform_transport_vector (w0_t, w1_t, w2_t, w3_t, opad);
}
DECLSPEC static void hmac_sha512_run (u32x *w0, u32x *w1, u32x *w2, u32x *w3, u64x *ipad, u64x *opad, u64x *digest)
DECLSPEC void hmac_sha512_run (u32x *w0, u32x *w1, u32x *w2, u32x *w3, u64x *ipad, u64x *opad, u64x *digest)
{
u64x w0_t[4];
u64x w1_t[4];