1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 08:08:10 +00:00

Merge pull request #3542 from matrix/m28000_errors

fix kernel 28000 a3 build warnings/errors
This commit is contained in:
Jens Steube 2022-12-20 22:45:11 +01:00 committed by GitHub
commit a82cf950bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
for (int i = 0; i < pw_len; i++)
for (u32 i = 0; i < pw_len; 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;
}
KERNEL_FQ void m28000_mxx (KERN_ATTR_ESALT (crc64_t))
KERNEL_FQ void m28000_mxx (KERN_ATTR_VECTOR_ESALT (crc64_t))
{
/**
* 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