1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-30 10:28:41 +00:00

fix build errors with 32500 on Metal

This commit is contained in:
Gabriele Gristina 2025-07-09 22:34:05 +02:00
parent 5ffbc5edc4
commit 3d6ebd00b7
No known key found for this signature in database
GPG Key ID: 9F68B59298F311F0

View File

@ -107,7 +107,7 @@ DECLSPEC u32 base64_encode_three_bytes_better (u32 in)
return out;
}
DECLSPEC void base64_encode_sha256 (u32 *out, const u32 *in)
DECLSPEC void base64_encode_sha256 (PRIVATE_AS u32 *out, PRIVATE_AS const u32 *in)
{
out[0] = base64_encode_three_bytes_better( (in[0] >> 8));
out[1] = base64_encode_three_bytes_better((in[0] << 16) | (in[1] >> 16));