From a4c9f3bda946aa7ec172b858aa3ff1d0372badee Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Tue, 11 Apr 2023 18:39:57 +0200 Subject: [PATCH] Fixed build failed for 18400 with Apple Metal --- OpenCL/m18400-pure.cl | 2 +- docs/changes.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenCL/m18400-pure.cl b/OpenCL/m18400-pure.cl index c3f2931f5..36c1411f1 100644 --- a/OpenCL/m18400-pure.cl +++ b/OpenCL/m18400-pure.cl @@ -391,7 +391,7 @@ KERNEL_FQ void m18400_comp (KERN_ATTR_TMPS_ESALT (odf12_tmp_t, odf12_t)) 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..d73a5c55c 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 18400 with Apple Metal ## ## Technical