mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-22 14:48:12 +00:00
fix kernel 23800 pure build errors
This commit is contained in:
parent
1154272d6a
commit
758a6fe0de
@ -46,7 +46,7 @@ typedef struct rar3_hook
|
||||
|
||||
} rar3_hook_t;
|
||||
|
||||
DECLSPEC void memcat8c_be (u32 *w0, u32 *w1, u32 *w2, u32 *w3, const u32 len, const u32 append, u32 *digest)
|
||||
DECLSPEC void memcat8c_be (PRIVATE_AS u32 *w0, PRIVATE_AS u32 *w1, PRIVATE_AS u32 *w2, PRIVATE_AS u32 *w3, const u32 len, const u32 append, PRIVATE_AS u32 *digest)
|
||||
{
|
||||
const u32 func_len = len & 63;
|
||||
|
||||
@ -125,7 +125,7 @@ DECLSPEC void memcat8c_be (u32 *w0, u32 *w1, u32 *w2, u32 *w3, const u32 len, co
|
||||
// only change in this function compared to OpenCL/inc_hash_sha1.cl is that it returns
|
||||
// the expanded 64 byte buffer w0_t..wf_t in t[]:
|
||||
|
||||
DECLSPEC void sha1_transform_rar29 (const u32 *w0, const u32 *w1, const u32 *w2, const u32 *w3, u32 *digest, u32 *t)
|
||||
DECLSPEC void sha1_transform_rar29 (PRIVATE_AS const u32 *w0, PRIVATE_AS const u32 *w1, PRIVATE_AS const u32 *w2, PRIVATE_AS const u32 *w3, PRIVATE_AS u32 *digest, PRIVATE_AS u32 *t)
|
||||
{
|
||||
u32 a = digest[0];
|
||||
u32 b = digest[1];
|
||||
@ -474,7 +474,7 @@ DECLSPEC void sha1_transform_rar29 (const u32 *w0, const u32 *w1, const u32 *w2,
|
||||
// only change in this function compared to OpenCL/inc_hash_sha1.cl is that
|
||||
// it calls our modified sha1_transform_rar29 () function
|
||||
|
||||
DECLSPEC void sha1_update_64_rar29 (sha1_ctx_t *ctx, u32 *w0, u32 *w1, u32 *w2, u32 *w3, const int bytes, u32 *t)
|
||||
DECLSPEC void sha1_update_64_rar29 (PRIVATE_AS sha1_ctx_t *ctx, PRIVATE_AS u32 *w0, PRIVATE_AS u32 *w1, PRIVATE_AS u32 *w2, PRIVATE_AS u32 *w3, const int bytes, PRIVATE_AS u32 *t)
|
||||
{
|
||||
if (bytes == 0) return;
|
||||
|
||||
@ -604,7 +604,7 @@ DECLSPEC void sha1_update_64_rar29 (sha1_ctx_t *ctx, u32 *w0, u32 *w1, u32 *w2,
|
||||
// main change in this function compared to OpenCL/inc_hash_sha1.cl is that
|
||||
// we call sha1_update_64_rar29 () and sometimes replace w[]
|
||||
|
||||
DECLSPEC void sha1_update_rar29 (sha1_ctx_t *ctx, u32 *w, const int len)
|
||||
DECLSPEC void sha1_update_rar29 (PRIVATE_AS sha1_ctx_t *ctx, PRIVATE_AS u32 *w, const int len)
|
||||
{
|
||||
u32 w0[4];
|
||||
u32 w1[4];
|
||||
|
Loading…
Reference in New Issue
Block a user