1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-22 12:32:04 +00:00

Merge pull request #3170 from matrix/metal_addressSpace_v2

Added missing address space on hash-type 27800
This commit is contained in:
Jens Steube 2022-02-25 13:23:36 +01:00 committed by GitHub
commit 37ef71f52f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ DECLSPEC u32 MurmurHash3(const u32 seed, PRIVATE_AS const u32 *data, const u32 s
if (size % 4)
{
const u8* remainder = (u8*)(data + nBlocks);
PRIVATE_AS const u8 *remainder = (PRIVATE_AS u8 *)(data + nBlocks);
u32 val = 0;
switch(size & 3) //Hash remaining bytes as size isn't always aligned by 4

View File

@ -36,7 +36,7 @@ DECLSPEC u32 MurmurHash3(const u32 seed, PRIVATE_AS const u32 *data, const u32 s
if (size % 4)
{
const u8* remainder = (u8*)(data + nBlocks);
PRIVATE_AS const u8 *remainder = (PRIVATE_AS u8 *)(data + nBlocks);
u32 val = 0;
switch(size & 3) //Hash remaining bytes as size isn't always aligned by 4