1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 01:50:10 +00:00

fix kernel 28000 a3 build warnings/errors

This commit is contained in:
Gabriele Gristina 2022-12-17 10:09:24 +01:00
parent 1154272d6a
commit e82d006bf4

View File

@ -171,7 +171,7 @@ DECLSPEC u64 crc64jones (PRIVATE_AS const u32 *w, const u32 pw_len, const u64 iv
PRIVATE_AS const u8 *w_ptr = (PRIVATE_AS const u8 *) w; PRIVATE_AS const u8 *w_ptr = (PRIVATE_AS const u8 *) w;
for (int i = 0; i < pw_len; i++) for (u32 i = 0; i < pw_len; i++)
{ {
const u64 v = (const u64) w_ptr[i]; const u64 v = (const u64) w_ptr[i];
@ -181,7 +181,7 @@ DECLSPEC u64 crc64jones (PRIVATE_AS const u32 *w, const u32 pw_len, const u64 iv
return a; return a;
} }
KERNEL_FQ void m28000_mxx (KERN_ATTR_ESALT (crc64_t)) KERNEL_FQ void m28000_mxx (KERN_ATTR_VECTOR_ESALT (crc64_t))
{ {
/** /**
* modifier * modifier
@ -254,7 +254,7 @@ KERNEL_FQ void m28000_mxx (KERN_ATTR_ESALT (crc64_t))
} }
} }
KERNEL_FQ void m28000_sxx (KERN_ATTR_ESALT (crc64_t)) KERNEL_FQ void m28000_sxx (KERN_ATTR_VECTOR_ESALT (crc64_t))
{ {
/** /**
* modifier * modifier