From 43b3bba611449512c4bdf97e5aa27b30359d804b Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Tue, 11 Apr 2023 18:41:26 +0200 Subject: [PATCH] Fixed build failed for 18600 with Apple Metal --- OpenCL/m18600-pure.cl | 2 +- docs/changes.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenCL/m18600-pure.cl b/OpenCL/m18600-pure.cl index 8618025fb..6280e0a57 100644 --- a/OpenCL/m18600-pure.cl +++ b/OpenCL/m18600-pure.cl @@ -797,7 +797,7 @@ KERNEL_FQ void FIXED_THREAD_COUNT(FIXED_LOCAL_SIZE_COMP) m18600_comp (KERN_ATTR_ if (remaining64) { - u32 *pt_remaining = pt + (encrypted_len64 / 4); + PRIVATE_AS u32 *pt_remaining = pt + (encrypted_len64 / 4); truncate_block_16x4_be_S (pt_remaining + 0, pt_remaining + 4, pt_remaining + 8, pt_remaining + 12, remaining64); diff --git a/docs/changes.txt b/docs/changes.txt index 448e026ac..ae6e5f074 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -45,6 +45,7 @@ - Skip chained generated rules that exceed the maximum number of function calls - Fixed incorrect plaintext check for 25400 and 26610. Increased plaintext check to 32 bytes to prevent false positives. - Fixed bug in --stdout that caused certain rules to malfunction +- Fixed build failed for 18600 with Apple Metal ## ## Technical